News for hackers. Stuff that matters.
Re:“Modern” C++ Lamentations by adrianN on Friday December 28, 2018 @03:47PM (#18779301)
Rust also has a saner module system that makes incremental builds much quicker. They're still pretty slow, but not as agonizingly slow as a clean build.
Re:“Modern” C++ Lamentations by nicoburns on Friday December 28, 2018 @05:22PM (#18779958)
Rust is only fast compared to C++ (and then only sometimes). Literally every other language is significantly faster to compile. I'm hoping this can change though. Rust with fast compile times and a more complete library ecosystem (and ideally better IDE support) would be an incredibly productive language.
Re:“Modern” C++ Lamentations by dzdt on Friday December 28, 2018 @06:40PM (#18780409)
Scala is slower to compile than C++ in large scale enterprise development. (The exception that proves the rule?)
Re:“Modern” C++ Lamentations by nicoburns on Saturday December 29, 2018 @09:34AM (#18783728)
Ah, I forgot about Scala. Someone below mentioned Haskell too (which I haven't used). Still, calling Rust fast seems wrong to me!
Re:“Modern” C++ Lamentations by aphexairlines on Friday December 28, 2018 @08:16PM (#18780985)
Compared with C++, Scala projects are not slow to compile when you use Gradle multi-project builds (with granular sub-projects) and Gradle build caching.
Re:“Modern” C++ Lamentations by swsieber on Saturday December 29, 2018 @12:16AM (#18782010)
Not as agonizingly slow, but still agonizingly slow.

While I do appreciate build speed improvements, saying that it's better than it was isn't a super high bar in terms of user experience.

I love Rust, I really do, but it's still incredibly slow. I'm excited for any progress it makes on this front.

Re:“Modern” C++ Lamentations by kodemizer on Saturday December 29, 2018 @03:34AM (#18782662)
I think the most promising thing on this front is Cranelift (https://github.com/CraneStation/cranelift). The idea is that, when cranelift is ready, we might use it for debug builds (but still use LLVM for release builds).