Articles & Books

C++ User Group Meetings in April 2021

The monthly overview on upcoming C++ User Group Meetings

C++ User Group Meetings in April 2021

by Jens Weller

From the article:

The monthly list of upcoming C++ User Group meetings, still online due to the pandemic!

In April Meeting C++ online hosts two different events: on April 8th Andreas Fertig will speak about C++ insights and on April 20th Meeting C++ hosts an online C++ Tool fair.

There is 1 new C++ User Group: Vorarlberg.

Taming the power of C++ with AI

A new blog article on an exciting idea for C++

Taming the power of C++ with AI

by Jens Weller

From the article:

In January Bryce Adelstein Lelbach gave a talk about NDVIDIAS CUDASTL fork at my online C++ User Group. Shortly after this talk was published on YouTube I got contacted by a start up, seeking feedback on their ideas of accelerating C++ with help of GPUs and AI...

Creating a task completion source for a C++ coroutine 4--Raymond Chen

The series continue.

Creating a task completion source for a C++ coroutine: Failing to produce a result

by Raymond Chen

From the article:

So far, we’ve been working on building a result_holder that can hold any type of result. But what about errors?

Because maybe you have code that’s waiting for a result, and the code that’s supposed to produce the result realizes that it messed up and wants to say, “Sorry, no result today.”...

Creating a task completion source for a C++ coroutine: Producing a result--Raymond Chen

The series continue.

Creating a task completion source for a C++ coroutine: Producing a result

by Raymond Chen

From the article:

We’ve been looking at creating different types of awaitable synchronization objects. This time, we’ll create something analogous to what C# calls a Task­Completion­Source and what PPL calls a task_completion_event. For lack of a better name, I’m going to call it a result_holder...

Ticket Maps--Anthony Williams

Simple and efficient.

Ticket Maps

by Anthony Williams

From the article:

It has been an increasingly common scenario that I've encountered where you have some ID that's monotonically increasing, such as a subscription or connection index, or user ID, and you need your C++ program to hold some data that's associated with that ID value. The program can then pass round the ID, and use that ID to access the associated data at a later point...