4 ms·
Rust is the first language since C++ that can improve/not hinder runtime speed while making development safer, so I definately see its future. The only problem
by xiphias 10y ago
Rust is the first language since C++ that can improve/not hinder runtime speed while making development safer, so I definately see its future.
The only problem is that the compiler is very slow now, so it doesn't scale to large code bases, which is a no-go in my company. Hopefully the Rust team understands that this is not only a would-be-nice to have feature (I see learning the borrow checker as a smaller problem)
- biokoda 10y ago> The only problem is that the compiler is very slow now, so it doesn't scale to large code bases The way of working with that is use cargo check command which is much faster and splitting your problem into multiple crates so you don't have everything in one giant project. Which is what tends to happen in large code bases anyway. Also they are putting quite a lot of work into making it faster. Before you get to that large code base it will be better.
- eridius 10y agoI believe incremental compilation is already being worked on, which should speed up your compiles (well, the first compile would be slow, but subsequent compiles would be faster).
- computerphage 10y agoA limited form of incremental compilation is already available on nightly. And yes, more is coming.
- throwaway7645 10y agoCompiler speedup is in the roadmap.
- soulbadguy 10y agoDlang ?
- xiphias 10y agoIn Dlang you either opt for slower garbage collection or get back to manual memory management where you don't get any advantage compared to C++