September 2020

CppCon 2020 Keynote: Performance Matters by Emery Berger

Will you attend?

CppCon 2020 Keynote: Performance Matters by Emery Berger

From the article:

Emery Berger is a Professor in the College of Information and Computer Sciences at the University of Massachusetts Amherst, where he co-directs the PLASMA @ UMass lab.  To fully appreciate the work that Emery as done and the academic honors that he’s received, you really need to read his bio...

CppCon 2020 kickoff: Sunday welcome reception

cppcon2020-logo.pngCppCon 2020 "online" begins in less than one week. This is the biggest C++ event of the year, with over 80 talks in 6 breakout tracks including the Back To Basics track and the brand-new Embedded track; daily keynotes starting with Bjarne Stroustrup's opening keynote on Monday; additional pre- and post-conference classes with world-class trainers, the first of which starts in less than 48 hours; panels starting with the annual Committee Fireside Chat; exhibitor halls with your favorite tools' developers in live video chat to answer your questions and help you solve your problems; and the CppCon house band playing live from their Seattle-based studio before and after each daily keynote. It's as much of what you can experience at CppCon's face-to-face events that we can bring online, which turns out to be quite a lot -- and no need to deal with luggage, airports, or hotels.

This Sunday, CppCon begins as always with a pre-conference welcome reception. For two and a half hours, you'll be able to get oriented in the virtual conference center, and hobnob with speakers and attendees while comparing notes about your favorite chocolates and code samples. We may have a few surprise live guests at the reception as well -- check it out.

As always, the talk and panel videos will be made freely available on YouTube a month or two after the event. Those of you who attend live will additionally get to participate in all the live activities -- the live Q&A with speakers and panels, including live AMA video chat sessions with your favorite C++ authors and experts at reserved tables throughout the week; an exhibit hall where you can have live video chat with the developers of your favorite tools and ask them everything you want to know about their products; live video interaction with all of the other attendees in virtual rooms and tables throughout the event all week long; and more.

If you're one of the many who have already registered, we look forward to seeing you very soon! If not, there's still time -- register today.

C++20 Approved -- Herb Sutter

C++20 passed unanimously, on track to publish later this year.

C++20 Approved

by Herb Sutter

About the article

On Friday September 4, C++20’s DIS (Draft International Standard) ballot ended, and it passed unanimously. This means that C++20 has now received final technical approval and is done with ISO balloting, and we expect it to be formally published toward the end of 2020 after we finish a final round of ISO editorial work.

As always, we are not counting on ISO’s publication speed to call it C++20, it’s C++20 because WG21 completed technical work in February. If for some reason ISO needs until January to get it out the door and assigns it a 2021 publication date, the standard will still be referred to as C++20. That is already its industry name, and 300,000+ search hits can’t be (retroactively made) wrong!

CppCon 2019: The Best Parts of C++--Jason Turner

This year, CppCon 2020 is going virtual. The dates are still the same – September 14-18 – and we are aiming for the CppCon live event to have pretty much everything you’re familiar with at CppCon except moved online: multiple tracks including “back to basics” and a new “embedded” track; live speaker Q&A; live talk time zones friendly to Americas and EMEA (and we’re going to try to arrange around-the-clock recorded repeats in all time zones, where speakers who are available can be available for live Q&A in their repeated talks too, and we’ll do that if it’s possible – but we’re still working on it!); virtual tables where you can interact face-to-face online with other attendees just like at the physical event; virtual exhibitor spaces where you can meet the folks on your favorite product’s teams to ask them question face-to-face; pre- and post-conference classes; and even the CppCon house band playing live before every plenary session. All talk recordings will be freely available as usual on YouTube a month or two after the event, but everything else above will be available only live during CppCon week.

To whet your appetite for this year’s conference, here’s another of the top-rated talks from last year. Enjoy – and register today for CppCon 2020 – all the spirit and flavor of CppCon, this year all virtual and online!

The Best Parts of C++

by Jason Turner

Summary of the talk:

C++ is a big language, and it gets bigger every year. Is C++ it too big? Do we just continue to make the language harder to learn? Or, perhaps, do these language additions actually make the language better and easier to use? We will take a pragmatic look at the changes brought to C++ over the years and what impact they have had on how we write code.

Concept archetypes--Andrzej KrzemieĊ„ski

Testing custom concepts.

Concept archetypes

by Andrzej Krzemieński

From the article:

Concepts in the form added in C++20 used to be called lite. This is because they do not provide one quite important functionality: having the compiler check if the author of a constrained template is only using operations and types allowed by the constraining concept. In other words, we can say that our template only requires operations A and B to be valid, but we can still use some other operations inside and this is fine with the compiler. In this post we will show how this is problematic, even for programmers aware of the issue, and how to address it with concept archetypes...

CppCon 2020 Program Available

Come check it!

CppCon 2020 Program Available

From the article:

The Main Program for CppCon 2020 is now live!

We’ll have over seventy-five regular sessions delivered by the best C++ presenters in the industry, many returning from previous years as well as some exciting new voices. We’ll have five or six concurrent tracks full of sessions containing C++ best practices and what you need to know about the brand spanking new C++20...

Cppcon: Instructor Interview: Mateusz Pusz / C++ Concepts

The future.

Instructor Interview: Mateusz Pusz / C++ Concepts

Summary of the video:

In this week’s instructor interview, Kevin Carpenter welcomes Mat Pusz for a discussion of his CppCon Academy class, C++ Concepts: Constraining C++ Templates in C++20 and Before. Mat quickly demonstrates the power and importance of constraining types when calling functions. His class will cover how to do this with the new concepts feature in C++20 and also how to do it if you are not yet using C++20.

CppCon 2019: Non-conforming C++: the Secrets the Committee Is Hiding From You--Miro Knejp

This year, CppCon 2020 is going virtual. The dates are still the same – September 14-18 – and we are aiming for the CppCon live event to have pretty much everything you’re familiar with at CppCon except moved online: multiple tracks including “back to basics” and a new “embedded” track; live speaker Q&A; live talk time zones friendly to Americas and EMEA (and we’re going to try to arrange around-the-clock recorded repeats in all time zones, where speakers who are available can be available for live Q&A in their repeated talks too, and we’ll do that if it’s possible – but we’re still working on it!); virtual tables where you can interact face-to-face online with other attendees just like at the physical event; virtual exhibitor spaces where you can meet the folks on your favorite product’s teams to ask them question face-to-face; pre- and post-conference classes; and even the CppCon house band playing live before every plenary session. All talk recordings will be freely available as usual on YouTube a month or two after the event, but everything else above will be available only live during CppCon week.

To whet your appetite for this year’s conference, here’s another of the top-rated talks from last year. Enjoy – and register today for CppCon 2020 – all the spirit and flavor of CppCon, this year all virtual and online!

Non-conforming C++: the Secrets the Committee Is Hiding From You

by Miro Knejp

Summary of the talk:

These days everyone talks about conforming and portable C++. Compiler vendors celebrate increasing conformance. Committee agents blind us with new shiny toys coming to the language. But there is a darker side to C++. A C++ you are not supposed to know about.

What if I told you there was more to C++ than what the agents of The Committee want us to believe? Over decades programmers all around the world have added features to the language in form of compiler extensions that let us do even greater things. Some are completely new, and some are lifted from C to C++ to allow some interesting, and sometimes more efficient, application.

We will see how statements can become expressions, how "goto" with extra superpowers can make your programs faster, and why there exists an operator named after a famous rock star. These are just a few examples of what to expect as listing any more would draw unwanted attention from The Committee. Unfortunately, because these extensions are not part of ISO C++, using any of them comes at the expense of portability. Or does it?