3 ms·
I might be biased, as I develop kernel drivers and other low level stuff that must just work. In C and C++. Sometimes some assembler. I've seen very little C/C
by vardump 7y ago
I might be biased, as I develop kernel drivers and other low level stuff that must just work. In C and C++. Sometimes some assembler.
I've seen very little C/C++ code where I can't find tons of bugs. I've been in the business for over 25 years and gotten tired of this a long time ago. Enough is enough. Even the smartest people in business don't seem to be able to use C/C++ safely. (Yes, C++11 etc. did improve matters, but not enough).
Personally I'm happy there's finally at least one language that is effectively runtimeless, C/C++ like performance, significantly more secure than C/C++, C ABI compatible and has reasonable momentum. Rust might be it.
It doesn't need to be a silver bullet for everything, just give me more memory and concurrency safety.
If it's Rust, fine. If it's something else realistic, fine. It's not cure all, but borrow checker is clearly a major improvement for low level safety.