Reply to post:

Rust in peace: Memory bugs in C and C++ code cause security issues so Microsoft is considering alternatives once again


Granted this is a bandaid... but i seems to me they already know that pointers are unsafe and have know that for years... So why don't they just build in the "unsafe" into c/c++ standard and require everybody to use "references" instead of "pointers" unless you ask for a compiler exemption by placing "unsafe" keyword in the code to mark a pointer block... then the C/C++ compiler from microsoft and gcc will just refuse to build the main exe and mark the "safe" flag in the that everytime you run the pops up a warning that says, "this code was created using old C++ pointer techniques and maybe unsafe to run on your PC blah blah.."...

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2020