Q&A with Bjarne Stroustrup -- ACM HACETTEPE
A brand-new ACM interview with the creator of C++...
March 19-21, Madrid, Spain
April 1-4, Bristol, UK
June 16-21, Sofia, Bulgaria
By Blog Staff | Mar 5, 2021 11:28 AM | Tags: None
A brand-new ACM interview with the creator of C++...
By Meeting C++ | Mar 5, 2021 03:53 AM | Tags: meetingcpp community
The monthly overview on upcoming C++ User Group meetings, online due to the pandemic...
Online C++ User Group Meetings in March 2021
by Jens Weller
From the article:
The monthly overview of upcoming User Group meetings, still online meetups due to the pandemic.
On March 16th Meeting C++ hosts the second online C++ job fair, RSVP via meetup!
By Adrien Hamelin | Mar 3, 2021 03:03 PM | Tags: c++20
First part.
Implementing Simple Futures with Coroutines
by Rainer Grimm
From the article:
Instead of return, a coroutine uses co_return returning its result. In this post, I want to implement a simple coroutine using co_return...
By Adrien Hamelin | Mar 3, 2021 03:01 PM | Tags: intermediate
Clarifying.
return first example
by Marius Elvert
From the article:
It seems my “return first” post was not as enlightening as I had hoped. It was posted on reddit, and while the majority of commenters completely missed the point, it wasn’t really clear for those that did not just read the title. Either way, I am to blame for that – the examples and my reasoning were not very conclusive. So let me try clearing up the confusion with a better example...
By Adrien Hamelin | Mar 3, 2021 02:54 PM | Tags: c++20
Harnessing the power of coroutines.
Creating a co_await awaitable signal that can be awaited multiple times, part 1
by Raymond Chen
From the article:
C++/WinRT asynchronous activities can be awaited only once. This is consistent with their intended usage pattern, which is for an application to start the activity, co_await the result, and then continue.
But maybe you want something like a Win32 event, where any number of people can co_await the event, and then once it is signaled, all the awaiters are resumed...
By Adrien Hamelin | Mar 2, 2021 03:34 PM | Tags: c++20
A new tool to simplify usage.
C++ Concepts: More than Syntactic Requirements
by Jonathan Boccara
From the article:
After years and years of expectation, concepts have finally made it in C++20.
Concepts are descriptions in code of a set of expressions that must be valid with a given type. Those are syntactic requirements. But there is more to concepts than that: concepts also have semantic requirements.
Before getting into that, here is a recap of what concepts are. If you’re already familiar with concepts you can skip to the section on semantic requirements...
By Adrien Hamelin | Mar 2, 2021 03:30 PM | Tags: c++20
Detailed and interesting.
My tutorial and take on C++20 coroutines
by David Mazières
From the article:
Over the last 25 years, I’ve written a lot of event-driven code in C++. A typical example of event-driven code is registering a callback that gets invoked every time a socket has data to be read. Once you have read an entire message, possibly after many invocations, you parse the message and invoke another callback from a higher layer of abstraction, and so forth. This kind of code is painful to write because you have to break your code up into a bunch of different functions that, because they are different functions, don’t share local variables...
By Adrien Hamelin | Mar 2, 2021 03:24 PM | Tags: community
Were you using them?
Next steps for Clang Power Tools
by Horatiu Prica
From the article:
We are happy to announce that Clang Power Tools is now entirely free for everyone while keeping it open-source on GitHub. We had a blast these past two years, working full-time on making Clang Power Tools better and bringing to fruition its code modernization mission...
By Adrien Hamelin | Mar 1, 2021 02:03 PM | Tags: None
Are you using vcpkg?
Registries: Bring your own libraries to vcpkg
by Nicole Mazzuca
From the article:
Are you working on a C++ project with library dependencies? Are you tired of maintaining a custom-built package management workflow with duct tape and git submodules? Then you should consider trying out a package manager. Perhaps you have been side-eyeing vcpkg for a while, and it looks like the perfect solution for your team, but for one problem: not all your dependencies are open source! Your company has internal libraries that they expect everyone to use too...
By Adrien Hamelin | Mar 1, 2021 01:59 PM | Tags: c++20
Another aspect of c++20.
Synchronized Output Streams with C++20
by Rainer Grimm
From the article:
What happens when you write without synchronization to std::cout? You get a mess. With C++20, this should not be anymore...