5 ms·
Rust can statically prove there are no data races, Go cannot. Rust offers statically checked deterministic destruction, which makes handling non-memory resourc
by pkolaczk 6y ago
Rust can statically prove there are no data races, Go cannot.
Rust offers statically checked deterministic destruction, which makes handling non-memory resources much safer from leaks. Failing to dispose non-memory resources properly (e.g in databases) may be considered a correctness problem. Rust helps in this area, Go doesn't.
- dpc_pw 6y agoDoes Go have anything even close to clap/structopt?
- alecthomas 6y agoYes, though unlike Rust they use reflection: https://github.com/alecthomas/kong https://github.com/alecthomas/kong (my own)