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.
This author has not written his bio yet.
But we are proud to say that Rainer Grimm contributed 702 entries already.
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.
Face-to-face seminars and online seminars are different. Both forms have their pros and cons, and none of them is better than the other.
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.
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.
The cppcoro library from Lewis Baker gives you what C++20 doesn’t: a library of C++ coroutine abstractions based on the coroutines TS.
educative.io gave me four vouchers for which they will give a learner 3-month access to all Educative courses.
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.
My story to coroutines in C++20 goes on. Today I dive deep into the coroutines framework to create an infinite data stream. You have to read the two previous posts, “C++20: Coroutines – A First Overview“, and “C++20: More Details to Coroutines” to be prepared.
After I gave you in my last post (C++20: Coroutines – A First Overview) my first impression of coroutines, I want to provide more details today. Once more, we get in C++20 not coroutines but a framework for building coroutines.
I’m looking for proofreaders for my new book “C++ Core Guidelines”. The crucial idea of the book is to put the precious ideas of the C++ Core Guidelines into a readable book for the big audience. This book includes more than a hundred examples to study the theory in praxis.
