News for hackers. Stuff that matters.
Re:Will Carbon Replace C++? by Kranar on Monday February 27, 2023 @09:12PM (#34964806)
This is simply false, modern C++ just replaces old issues with new ones. There are numerous new unsafe footguns that "modern" C++ introduced with lambda captures, coroutine lifetimes, and libraries like std::range where lifetimes and ownership are incredibly difficult to reason about. Not to mention that the web is full of blog posts about how to properly use std::string_view, since a lot of crashes trace back to improper use of it, particularly its constructor that kind of acts like it takes ownership but doesn't.

There are no comments on this comment yet.