coroutines

Tag

Cards List
#coroutines

Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 3

The Old New Thing (Raymond Chen) · 2026-05-29 Cached

The article discusses a C++/WinRT pattern for caching the result of a Windows Runtime IAsyncOperation, including handling failures, so that multiple coroutines can share the cached result or exception.

0 favorites 0 likes
#coroutines

If C# and JavaScript lets me await a Windows Runtime asynchronous operation more than once, why not C++/WinRT?

The Old New Thing (Raymond Chen) · 2026-05-26 Cached

Raymond Chen explains why C++/WinRT does not allow multiple awaits on asynchronous operations like C#, JavaScript, and Python do, citing the lack of a standard library task type and the principle of not paying for unused functionality.

0 favorites 0 likes
#coroutines

Async I/O in Zig 0.16, today

Lobsters Hottest · 2026-05-17 Cached

Zig 0.16 ships a new std.Io interface for cross-platform I/O. The library zio provides a full async implementation using stackful coroutines and OS-level async APIs, enabling efficient concurrent tasks without thread-per-task overhead.

0 favorites 0 likes
← Back to home

Submit Feedback