3 ms·
> Most code written today do not require manual memory management Rust has automatic memory management. > or even explicit multithreading. You don't need exp
by pkolaczk 5y ago
> Most code written today do not require manual memory management
Rust has automatic memory management.
> or even explicit multithreading.
You don't need explicit multithreading to run into data races. Languages that allow any kind of unchecked mutable state sharing and allow any form of concurrency (explicit or hidden) are prone to that problem.
Even single-threaded programs with aliasing of mutable variables are hard to reason about and Rust improves on that considerably by not allowing accidental aliasing.