logoalt Hacker News

GuB-42 • yesterday at 4:01 PM • 1 reply • view on HN

> This isn't something baked into the core language like C++ features tend to be.

Not much of C++ is baked into the core language, most of it is just the standard library, it includes custom allocators. If you look at libboost, it has always been some kind of a trial ground for future C++ versions, with the best parts ending into the standard, and it is just a library.

Not so different from what is happening with Rust.


Replies

steveklabnik • yesterday at 4:17 PM

C++ has new/delete as keywords, whereas allocation is purely a library concern in Rust.