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

250,632
0
Published 2022-11-12
cppcon.org/
github.com/CppCon/CppCon2022
---

Can C++ be 10x Simpler & Safer? (Simplifying C++ #9 of N) - Herb Sutter - CppCon 2022

Since CppCon 2015, all of Herb’s talks have been about ways to evolve C++ to make it simpler, safer, and more toolable. Every release of ISO C++ has already been making regular incremental “10%” improvements in these areas. But what are the fundamental factors that limit our rate of improvement, and what would it take to make greater progress? Like every year, Herb’s talk will explore selected current pain points and describe experimental ideas to address them that might someday contribute toward C++’s long-term evolution.
---

Herb Sutter

Herb is an author, designer of several Standard C++ features, and chair of the ISO C++ committee and the Standard C++ Foundation. His current interest is simplifying C++.
---

Videos Filmed & Edited by Bash Films: www.BashFilms.com/
YouTube Channel Managed by Digital Medium Ltd events.digital-medium.co.uk/

#cppcon #programming #coding

All Comments (21)
  • @luctielen
    Matt Godbolt is such a legend, adding support for cpp2 to compiler explorer during the talk.
  • I have literally dreamed of this exact idea. I'm so amped at the prospect of this becoming real. 🤞 Herb Sutter, as always, proves that he deserves our respect.
  • @SqueakyNeb
    Finally, after YEARS of warmup, Herb Sutter finally says it: if C++ is so good, why isn't there a C++ 2?
  • @magikworx3748
    This is the first "alternative" I've wanted to learn. Thank you for the dream of a better, way less complicated future.
  • @kodirovsshik
    Ever since I saw that one talk by Herb on an actual good way of passing arguments, that talk never left me as I thought about it again and again, and now I can't describe how happy I am to see Herb still keep actively pushing C++ towards this direction of simplifying it. I even shed a tear at some point watching the talk and I believe it means a lot to the whole C++ community as it does to me, so I just wanna say thank you a million to Herb for doing this fascinating job of actively and sincerely trying to make our world better
  • @zactron1997
    This is exactly what we need in the world. I started learning Rust because of the amount of work I'd need to do to go from "my code compiles" through to "and now it's not a pending lawsuit". Rust is not for everyone, so I'm really happy to see C++ moving towards a world where it catches up to (and hopefully exceeds!) Rust's ergonomics and safety.
  • @mattbettcher
    This really is quite good! I've been waiting years for someone to reduce complexity in C++!
  • @_Ani_
    This could be a gamechanger in terms of reducing complexity. Hyped to see this come forward!
  • @austinmorton
    Wow, I didn't realize there would be cameras on the mic stands! Super glad I was able to twist Matt's arm into hacking support into Compiler Explorer before the talk was over - your reaction was priceless 😄. Thanks for a great closing keynote as always.
  • I love this. It definately took a rust-like approach to compiler warnings / errors, which is great. Not only are the messages clear and they tell you how you can fix your mistake, but it also helps keep safety within c++ programs. I also enjoy some of the "syntactic sugar" resembilng some of the newer programming languages. I also never knew about the whole NSA ordeal with type unsafety and them advising against c & c++. Thousand Thanks to Herb Sutter And cppcon
  • Very nicely done, Herb! This approach not only bypasses the backwards-compatible limitations baked into C++ while still allowing mixing code, but keeps the language feeling like a refreshed C++ instead of something completely new. I think this compromise will be a appealing to many C++ developers. I think Rust is an excellent alternative to C++ (and is available today) but comes at the cost of learning a different way of thinking about memory safety and interoperability headaches with C++. Carbon is another experimental language trying to overcome these issues with a new language that prioritizes compatibility but is not familiar to those coming from C++. I suspect cppfront will be an easier sell to those currently heavily-invested in C++ but want more simplicity and safety guarantees.
  • @IAmMoF
    Really amazing what he was able to accomplish with basic principles. I really look forward to a CPP future like the one he displayed in this talk.
  • @USGrant21st
    I'm amazed that Herb Sutter after so many years is still going strong, still is thinking cogently, and even looking much younger than his years. Kudos.
  • @kirilvidev454
    Amazing work Herb. I now again have hope for C++'s future. Also, very good point in the end about naming the syntax cpp2 explicitly. Human nature is one of the reasons there is still so much confusion about the language.
  • @slipcurve1410
    so modest. i've got a feeling this is going to be a historical talk.
  • @totheknee
    It's great that Herb is doing this. I am designing a way to do this in C, but once it's done, no one will know or care about it except for me. When Herb is done, it has a good chance of actually going somewhere. Even if not in the standard, there's no way it doesn't get a community behind it after this talk...
  • Promising evolution, this transformation became inevitable, good luck Dear Herb ✌
  • @DotcomL
    It is very surprising how much can be improved while being tethered to syntax1 code generation. Fantastic work.