Comment on Why should I use rust (as a Go enthusiast)?
Lmaydev@programming.dev 10 months agoGo is memory safe due to its garbage collection. Which adds a decent overhead generally.
Rusts memory safety is enforced at compile time and therefore has zero cost at runtime.
For a system level language this can be really important.
firelizzard@programming.dev 9 months ago
In my book, “memory safety” also means avoiding data races. AFAIK Rust prevents most or all races by enforcing ownership and lifetime of pointers.