3 ms·
Even brilliant developers on the Linux kernel teams and Postgres teams make memory mistakes that lead to security problems. Maybe you are at a higher level tha
by jackmott42 3y ago
Even brilliant developers on the Linux kernel teams and Postgres teams make memory mistakes that lead to security problems.
Maybe you are at a higher level than them though.
- fwsgonzo 3y agoMy point is that I am acknowledging that C and C++ needs more discipline. I'm not saying we eliminated this class of bugs!
- mrcsd 3y agoIt sounds like you're working on a mature C++ codebase, so yeah, good reason to stick with that. But I'm curious whether you feel it's worth spending effort on this discipline, outside of working on a particular codebase? I don't know C++, but being freed from making effort to avoid a class of bugs was easily enough for me to learn Rust instead (not that this was the only reason).
- fwsgonzo 3y agoI think if I had the opportunity to learn Rust, and some guidance so that I didn't have to do everything the hard way (essentially how I learned C and then C++), then I would! So far I have used Rust very little, but what I have seen I have liked. I especially liked the much simpler inline assembly in Rust.