|
|
|
|
|
by WalterBright
1298 days ago
|
|
> One of the concerns is that C and C++ are being discouraged for new projects by several branches of the US government[1], which makes memory safety important to address. The biggest memory safety problem for C is array overflows. I proposed a simple, backwards compatible change to C years ago, and it has received zero traction. Note that we have 20 years of experience in D of how well it works. https://www.digitalmars.com/articles/C-biggest-mistake.html It'd improve C++ as well. I really do not understand why C adds other things, but not this, as this would engender an enormous improvement to C. |
|