Can C++ be 10x Simpler & Safer? - Herb Sutter - CppCon 2022

Channel:CppCon · Length:1:53:59 · Published:2022-11-12 · Views:277267

Watch on YouTube

Summary

Herb Sutter's CppCon 2022 talk on whether C++ can become ten times simpler and safer. He introduces his experimental Cpp2 syntax and the cppfront transpiler, explaining the limits on incremental improvement.

Why HN recommends it

HN recommends it as the main introduction to Cpp2 and cppfront, and as a credible effort to evolve C++.

One of those few talks that left me genuinely enthused about the topic. — HN, 2024

Programming language design · C, C++, Rust, Go & systems languages

Subtitles (excerpt)

I have a bit of a provocative title this year but this is actually a talk that I've been giving for seven years in pieces I'll explain what I mean by that we are all here at cpvcon and a conference is like it because we love C plus plus maybe you feel as I do C plus plus is the best language in the world for me to write the software I need and want to have but cpal also has lots of challenges and so we are in a phase where we are seeing the industry doing lots of major C plus Evolution and sometimes Revolution experiments this talk is one of those so I want to be clear up front and I'll try to repeat it often this is my personal experiment I am speaking for any company I'm not speaking for the standards committee it's it's my noodling around that I'm sharing because I hope it'll start a conversation in a direction to make C plus better but if anything comes of this well first of all it's an experiment so it can fail that's the default for experiments and if anything does come of it I intend to continue bringing those as ISO C plus proposals and you'll see I've already been doing that I would like to encourage us as a community of 7 million C plus plus developers around the world as we consider C plus future to push the boundaries to

On Hacker News

Sutter's 2022 cppcon talk¹ is a great introduction to the topic, both the problems it attempts to solve and solutions it was/is settling on. One of those few talks that left me genuinely enthused about the topic. [It is probably worth watching for the Compiler Explorer interjection toward the end alone -- Matt Godbolt Appreciation Society] ¹ [VIDEO] — JNRowe, 2024-03
There are so many shallow comments for this deeply thought out, 7 year effort to date. If the rest of the 'to do' items gets tackled, implemented in prototypes, and made into proposals as some of the work to date has been handled, this has the best chance of being a true C++ successor. The goal is nothing more than fulfilling these B. Stroustrup quotes: "Inside C++, there is a much smaller and cl… — karmakaze, 2022-11
Has anyone else looked at Herb Sutter's cpp2? For those that don't use C++, Herb is chair of the ISO C++ standards committee, and holds the position of "native languages architect" at Microsoft. [LINK] This is a good introductory talk on cpp2 by Sutter at CppCon three months ago, where he demonstrates cppfront , the cpp2 -> C++ transpiler. One of the things I like about it is that the code it gen… — taraharris, 2023-02
There is a much safer and simpler language hiding inside of C++ waiting to be discovered. If anyone can help reform the language, it's Herb Sutter with his cpp2 syntax. It's very much an experimental hero project, but it's promising: [VIDEO] — jdlyga, 2023-01
I agree that ideally everything should be written in safer alternatives, in most scenarios is not feasible to migrate from C++ to another language, because of the code base size. I think cppfront[0] is the way to go if you want to write a safer language on top of C++, you can watch the talk about it here[1]. [0] [LINK] [1] [VIDEO] — norman784, 2022-12

Related videos