CppCon opening keynote: "C++20: C++ at 40" -- Bjarne Stroustrup
Yesterday's CppCon opening keynote is up:
C++20: C++ at 40
by Bjarne Stroustrup
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 3-8, Kona, HI, USA
By Blog Staff | Sep 17, 2019 07:27 PM | Tags: None
Yesterday's CppCon opening keynote is up:
C++20: C++ at 40
by Bjarne Stroustrup
By Blog Staff | Sep 17, 2019 08:45 AM | Tags: None
Just announced at CppCon:
Open Sourcing MSVC's STL
From the announcement:
Today at CppCon 2019, we (the MSVC team) announced that we’re releasing our implementation of the C++ Standard Library (also known as the STL) as open source.
https://github.com/microsoft/STL is our new repository, containing all of our product source code, a new CMake build system, and a README with more information. As it explains, we’re still working on migrating to GitHub. While you can clone and build the code right now, there are several things we need to do (like adding our test suites) before we can begin reviewing pull requests.
Q&A
Q: Why are you doing this?
A: There are several reasons. ...
By Adrien Hamelin | Sep 16, 2019 12:07 PM | Tags: community
One more.
C++ Core Guidelines: Type Safety
by Rainer Grimm
From the article:
The C++ core guidelines support three profiles: type safety, bounds safety, and lifetime safety. Thanks to the guideline support library (GSL), you can check your code against these profiles. Today, I start with the profile type safety...
By Adrien Hamelin | Sep 16, 2019 12:05 PM | Tags: community
It started!
Back to Basics at CppCon 2019
by Arthur O’Dwyer
From the article:
Tomorrow I’ll be flying out to Denver, Colorado, for CppCon 2019. This will be my busiest CppCon yet! Besides giving my “STL From Scratch” weekend course for the third year in a row, this year I’m also the chair of CppCon’s new “Back to Basics” track...
By Adrien Hamelin | Sep 16, 2019 12:01 PM | Tags: intermediate c++17 c++14
Quick A: this is no longer an issue with C++17.
Recently on SO:
Undefined reference to static constexpr char[]
Add to your cpp file:
constexpr char foo::baz[];Reason: You have to provide the definition of the static member as well as the declaration. The declaration and the initializer go inside the class definition, but the member definition has to be separate.
By Matthias Gehre | Sep 15, 2019 12:12 AM | Tags: None
Matthias Gehre’s trip report of the ISO C++ committee meeting in Cologne in 2019.
Trip Report: ISO C++ Meeting Cologne (2019)
by Matthias Gehre
From the trip report:
This is my trip report of the ISO C++ Meeting in Cologne – my first ISO C++ Meeting.
I will not so much focus on the big features that were approved for C++20 (there are better reports),
but more describe my personal experience. The report also contains discussions on
many lesser-known papers.
By Adrien Hamelin | Sep 11, 2019 11:50 AM | Tags: experimental community
We’re in the final countdown to this year’s CppCon, which starts on September 16. 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 2019!
Nano-coroutines to the Rescue! (Using Coroutines TS, of Course)
by G. Nishanov
Summary of the talk:
Are you doing memory lookups in a huge table?
Does your embarrassingly random access to your lookup tables lead to memory stalls?Fear no more!
We will explore techniques that allow us to do useful work while the prefetcher is busily working on bringing the requested cache lines from main memory, by utilizing nano-coroutines.
And the best part, nano-coroutines can be easily implemented using Coroutines TS that is already available in MSVC and Clang compilers. With a little bit of library support we can utilize the coroutines to extract intra-thread parallelism and quadruple the speed up your lookups.
By Adrien Hamelin | Sep 11, 2019 11:43 AM | Tags: community
To continue in the next one.
C++ Core Guidelines: Profiles
by Rainer Grimm
From the article:
Informally, profiles are a subset of rules of the C++ core guidelines for specific concerns such as type safety, bounds safety, and lifetime safety. Thanks to the guideline support library, they can be checked...
By Adrien Hamelin | Sep 11, 2019 11:41 AM | Tags: community
Will you attend?
Tool Time 2019
by Jon Kalb
From the article:
Similar to tech labs at some other events, we’re offering the opportunity for anyone, from an author/creator, to a vendor, to a super-user, to represent a tool (app, library, framework, or service) and run their own table answering questions or showing demos...
By TartanLlama | Sep 11, 2019 12:26 AM | Tags: c++20
Compiler and library support for concepts is now available in Visual Studio 2019.
C++20 Concepts Are Here in Visual Studio 2019 version 16.3
by Xiang Fan
From the article:
C++20 Concepts are now supported for the first time in Visual Studio 2019 version 16.3 Preview 2. This includes both the compiler and standard library support.
First, we’re debuting the feature via /std:c++latest mode and once we have all C++20 features implemented across all Visual Studio products (compiler, library, IntelliSense, build system, debugger, etc.), we’ll provide them through a new /std:c++20 mode.