3 ms·
Ive started writing shared libraries in Rust instead of C++, especially for mobile applications. Aside from that, I don’t believe Rust is the future. Rust is n
by ozzythecat 5y ago
Ive started writing shared libraries in Rust instead of C++, especially for mobile applications.
Aside from that, I don’t believe Rust is the future. Rust is not the language for prototyping and iterating quickly. I’ve been writing Rust for 1.5 years now, and I still deal with a lot of issues wrestling with the compiler and borrow checker and dealing with lifetimes.
That article comparing Rust to Java - that Rust being simply faster - that somehow making it the future - this is laughable. Not every piece of code is trying to optimize for speed. And a decent chunk of code many people write doesn’t require advanced C++ knowledge. It’s actually faster to learn C++ IMO than Rust for these use cases.
I do enjoy writing Rust. The IDE support has gotten much better. The documentation is “good”. There are really good libraries too.. which is super critical imo.
But saying Rust is the “future” and comparing it to Python or Java is funny.
I tried writing a linked list in Rust and my first thought was “wtf”.
- zozbot234 5y ago> Rust is not the language for prototyping and iterating quickly. You might think so, but that would be overlooking one key advantage of using Rust for iterative prototyping: you don't have to worry about a hacked-together prototype being used in production! Stuff like that happens all the time, and relying on a language like Rust with its focus on safe refactoring can be a life-saver.