C++20

C++20: Structure Modules

When your module becomes bigger you want to divide its functionality into manageable components. C++20 modules offer two approaches: submodules and partitions. Let me discuss both approaches in this post.

Read more
Tags: modules, C++20
Views: 11955

C++20: Module Interface Unit and Module Implementation Unit

Thanks to the module interface unit and the module implementation unit, you can separate the interface from the implementation when defining a module. Let me show, how.

Read more
Tags: modules, C++20
Views: 11076

C++20: A Simple math Module

Modules are one of the four prominent features of C++20. They overcome the restrictions of header files and promise a lot: faster build-times, fewer violations of the One-Definition-Rule, less usage of the preprocessor. Today, I want to create a simple math module.

Read more
Tags: modules, C++20
Views: 9646

C++20: The Advantages of Modules

Modules are one of the four big features of C++20: concepts, ranges, coroutines, and modules. Modules promise a lot: compile-time improvement, isolation of macros, the abolition of header files, and ugly workarounds.

Read more
Tags: modules, C++20
Views: 27391

C++20: Thread Pools with cppcoro

This post is the third and final post in my miniseries to cppcoro. cppcoro is a library of coroutine abstractions from Lewis Baker. Today, I introduce thread pools.

Read more
Views: 9357

C++20: Powerful Coroutines with cppcoro

I gave in my last post "C++20: Coroutines with cppcoro", a basic introduction to the coroutines library from Lewis Baker. This introduction covered the elementary coroutines task and generator. Today, I add threads to tasks and get powerful abstractions. 

Read more
Views: 7582

C++20: Coroutines with cppcoro

The cppcoro library from Lewis Baker gives you what C++20 doesn't give you: a library of C++ coroutine abstractions based on the coroutines TS.

Read more
Views: 13430

C++20: Thread Synchronization with Coroutines

It's a typical requirement for thread management to synchronize them. One thread prepares, in this case, a work-package another thread is waiting for. 

Read more
Views: 13192

C++20: An Infinite Data Stream with Coroutines

My story to coroutines in C++20 goes on. Today I dive deep into the coroutines framework to create an infinite data stream. Consequentially, you have to read the two previous posts "C++20: Coroutines - A First Overview", and "C++20: More Details to Coroutines" to be prepared. 

Read more
Views: 8641

C++20: More Details to Coroutines

After I gave you in my last post (C++20: Coroutines - A First Overview) the first impression of coroutines, I want to provide today more details. Once more, we get in C++20 not coroutines but a framework for building coroutines. 

Read more
Views: 7864

My Newest E-Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 2182

Yesterday 6542

Week 32024

Month 131729

All 4581821

Currently are 108 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments