Comment

Comment by plasticeagle

Well, I don't know about borrow checkers, but scoped memory was added to C++ over a decade ago. In fact, I led the charge to remove every single new and delete from our codebase, and cause add it to the list of things disallowed by the static analysis tools.

Today, I wouldn't use new or delete in any C++ program for any reason. Segfaults and null pointers have become extremely rare.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton