3 ms·
As someone who has invested heavily in C++, and really likes the how modern C++ has evolved, I actually have a hard time imagining myself ever starting a new pr
by xedrac 5y ago
As someone who has invested heavily in C++, and really likes the how modern C++ has evolved, I actually have a hard time imagining myself ever starting a new project in C++ again. It's not that I can't write very reliable code in modern C++, because I have and still do. It's just that the amount of effort involved in doing so is high compared to something like Rust. A lot of the cognitive load is shifted to the compiler. I've worked in so many existing C++ code bases where I had to spend my time tracking down bug after bug because the people that wrote it weren't very skilled at C++. Rust has its problems too (dependency tree bloat, slow compile times, steep learning curve, immaturity...), but one thing it does is makes all programmers much less likely to write bugs that aren't simply logic errors. And in a team, that's a HUGE win.