3 ms·
I don't think it's really any more difficult to build sane C++ codebases than any other language. The issue is not sanity; it's safety. It's extraordinarily di
by IshKebab 3y ago
I don't think it's really any more difficult to build sane C++ codebases than any other language. The issue is not sanity; it's safety.
It's extraordinarily difficult to build a significant C++ codebase without segfaults and UB. You end up wasting a huge amount of time debugging that stuff.
Any time I've lost fighting Rust's borrow checker has easily been paid off by not having to debug segfaults.
- deterministic 3y agoNot my experience at all. I work on very large C++ code bases and haven’t had a bug in production for more than 5 years. The trick is solid tests and using tools like Valgrind/Helgrind to remove all memory issues.
- cylemons 3y agoIt also depends on what kind of application you're developing and the resource usage patterns.
- deterministic 3y agoNot at all. Tests + Valgrind/Helgrind (and similar tools) can cope with pretty much anything.