6 ms·
> Try and calculate the enormous waste of both time and money from memory leaks caused by code written in C and C++. Rust solves this... This seems like an unu
by lylejohnson 12y ago
> Try and calculate the enormous waste of both time and money from memory leaks caused by code written in C and C++. Rust solves this...
This seems like an unusual language feature to highlight --- don't most modern programming languages solve this problem with various implementations of GC or memory management? N.B. I am not at all familiar with Rust and so maybe I'm missing some important context...
- meowface 12y agoYes, but all managed languages will necessarily be less performant and less efficient than C/C++/D/Rust (barring a hypothetical future interpreted language with an amazing JIT and GC; LuaJIT has the JIT part down but definitely not the GC). Rust is specifically for systems programming. If you don't need to do systems programming, then sure, use C# or Scala or whatever you like.