News for hackers. Stuff that matters.
Re:This shouldn't have happened: A vulnerability postmortem by bluGill on Thursday December 02, 2021 @01:01AM (#29413028)
If you drop the parts of C++ that are that way because of C it is a much safer language. Weird and inconsistent, but someone who is writing C++ wouldn't make the error in the code in question any more than they would in rust. In C++ we never is unbounded arrays, just vectors and other bounded data structures.

I often see students asking a C++ question and when I tell then that is wrong they respond that their professor has banned vector. We have a real problem with bad teachers in C++, too many people learn to write C that builds with a C++ compiler and once in a while has a class.

There are no comments on this comment yet.