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.”...

Cling -- Beyond Just Interpreting C++--Vassil Vassilev, Wim Lavrijsen, Alexandru Militaru

New tools.

Cling -- Beyond Just Interpreting C++

by Vassil Vassilev, Wim Lavrijsen, Alexandru Militaru

From the article:

In our previous blog post “Interactive C++ for Data Science” we described eval-style programming, interactive C++ in Notebooks and CUDA. This post will discuss some developed applications of Cling supporting interoperability and extensibility. We aim to demonstrate template instantiation on demand; embedding Cling as a service; and showcase an extension enabling on-the-fly automatic differentiation...

Italian C++ Conference 2021 - Call for Sessions--Marco Arena

Will you answer?

Italian C++ Conference 2021 - Call for Sessions

by Marco Arena

From the article:

Since 2016, the Italian C++ Conference is the biggest and most successful event organized by the Italian C++ Community where professionals, companies and students meet to share experience about C++ development and practices.

The next conference is planned for June 19, online (Remo) and will be free to attend (as usual)...

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...