5 ms·
Go and Java can memory leak too. Furthermore, they are susceptible to data races that are not possible in safe Rust.
by ksml 4y ago
Go and Java can memory leak too. Furthermore, they are susceptible to data races that are not possible in safe Rust.
- 3a2d29 4y agoIt’s a lot harder to memory leak in Go and Java than rust. Just like it’s harder to have a memory safety issue in rust than C++. if you are worried about data races, use a language like elixir that’s more safe than rust and is great for concurrency. If you are a rust dev that forces your language into areas where a GC would suffice, than you are just like C++ devs who refuse to use rust for memory safety. You are introducing memory issues just cause you don’t want to use a better tool.
- super_flanker 4y ago> If you are a rust dev that forces your language into areas where a GC would suffice What's wrong in using Rust where a GC would suffice? Rust type system gives it a more high level feeling than go could ever provide.