4 ms·
Yet we have basic vulnerabilities in C and C++ code ALL THE TIME. Empirically, even if perfect tooling exists, you still have to go out of your way to use it.
by xxpor 5y ago
Yet we have basic vulnerabilities in C and C++ code ALL THE TIME. Empirically, even if perfect tooling exists, you still have to go out of your way to use it.
The right place to enforce these things are in the language and compiler (which I think you agree with). Make it impossible to make mistakes. Which is also why I'm not that excited about Zig. But the point is the tooling story for C isn't a land of puppies and roses, even in 2021.
- pjmlp 5y agoIn fact, because most people don't use them, yet another reason for Zig to have been designed better in regards to use-after-free. Right now, in regards to security in systems programming, Zig is no better than using Modula-2 compiler.