News

CMake 3.16 added support for precompiled headers & unity builds - what you need to know

Modules are coming in C++20 but it will take a while before they are widely adopted, optimized and supported by tooling - what can we do right now?

CMake 3.16 added support for precompiled headers & unity builds - what you need to know

by Viktor Kirilov

From the article:

CMake 3.16 introduced native support for precompiled headers and unity builds - we no longer need to rely on clunky 3rd party CMake scripts! This is a complete guide on what the 2 techniques are, how to apply them and what to look out for. Builds could easily drop to less than 20% of the time they originally took.

Slow builds don’t just waste time - they also break the ‘flow’ (context switching) and discourage refactoring and experimentation - how do you put a price on that?

C++Now 2020: Accepting Student/Volunteer Applications

Are you a student and want to meet many of the top C++ experts? Apply now!

Accepting Student/Volunteer Applications

by C++Now

From the announcement:

It is my pleasure to announce the eighth year of the C++Now Student/Volunteer program! We are again inviting students with an interest in C++ to attend the May 3-8, 2020 conference in Aspen, CO as Student/Volunteers.

C++ coroutines: Short-circuiting suspension, part 1--Raymond Chen

The series continue.

C++ coroutines: Short-circuiting suspension, part 1

by Raymond Chen

From the article:

At the start of this series, I gave the basic idea for how the compiler generates code for co_await, but I left out some details for expository simplicity. There are some mysterious steps called “We’re not ready to talk about this step yet.”

Now it’s time to talk about one of those steps...

The Modern C++ type CoDec Challenge -- Will Wray

A meta-programming challenge in compound type destructuring

The Modern C++ type CoDec Challenge

by Will Wray

From the article:

(Assumes intermediate to advanced level C++ with some meta skills.)

Find the most effective, modern way to:  

  1. Decompose a compound type then  
  2. Represent its structure and traverse it

...

What is it?

A challenge in the spirit of Herb's GotW running ∓20 days over NY 2020:

20 days of Modern C++ ranging from 'retro' TMP to latest C++2a features,
20 days of Post Modern C++ looking ahead to an era of static reflection.

  • A personal challenge to learn about types, introspection and meta coding
  • A community challenge towards effective methods of type decomposition

...

(Let the egg hunt begin())