4 ms·
I routinely deploy very large C++ applications used by international airlines around the world. And I haven't had a single bug in production for 5+ years. Not e
by deterministic 3y ago
I routinely deploy very large C++ applications used by international airlines around the world. And I haven't had a single bug in production for 5+ years. Not even one.
The secret is 9000+ auto tests pushing the code way beyond real world usage.
Changing from C++ to another language won't change the fact that those tests are needed. Memory leaks and multi-threading issues are simply non-issues for me. I use tools like Helgrind and Valgrind to find and fix those.
In other words, new languages like Rust doesn't solve any problems I have.
There is no silver bullet.
- agalunar 3y agoThat's very impressive! I desperately wish more people did their production work like you do. I genuinely can believe that Rust, Carbon, &c wouldn't make much of a difference for you. But for others who don't exercise the same discipline (for whatever reason, internal or external) I think they can. I agree there are no silver bullets; that's why each little bit helps. edit: I think our software woes have mostly to do with human nature; solutions (if they exist) will primarily be educational and social, not technical. But universal computers are less than a century old, and we can certainly do better on both fronts. If we've learned something about the way most people write programs and interact with existing tools, we perhaps ought to make of use of that experience to design better languages and tools.
- deterministic 3y agoYep I completely agree. Languages and tools definitely help. But it only solves a small percentage of the important problems IMHO.