News for hackers. Stuff that matters.
Re:The C++ Lifetime Profile: How It Plans to Make C++ Code S... by axilmar on Monday January 27, 2020 @08:00AM (#22158841)
Not a long term approach, in my humble opinion (as a C++ veteran that has worked with it for 20 years).

What the language needs is a new set of types that will ensure memory safety. Using the old types with the new ones should not allow the code to be compiled, thus ensuring memory safety.

It would be nice to have such a tool in short-term, though. At least some old bugs could possibly be more easily revealed.

There are no comments on this comment yet.