RSSAmplifier

Jinhua Blog

coco: a simple stackless, single-threaded, and header-only C++20 coroutine library

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

TL;DR coco is a simple stackless, single-threaded, and header-only C++20 coroutine library that leverages native C++20 coroutines for async/await programming with Go-like channels and waitgroups. https://github.com/kingluo/coco Background Don’t communicate through shared memory, share memory through communication. I have always been impressed by Golang’s CSP programming, which is very…

Read on //luajit.io:80/posts/coco-cpp20-coroutine/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.