Tagged “Cpp”
-
How the standard library achieves a space-optimized boolean vector without giving up container semantics, and why that optimization still surprises people.
-
Benchmark results for two popular reader-writer lock implementations, with tentative explanations for the patterns they reveal.
-
Using C++20 coroutines to hide memory stall latency during bulk lookups on a hashtable larger than last-level cache.
-
Building an awaitable timer on top of native system timer facilities, as a template for integrating coroutines with any asynchronous system event.
-
Exploring the semantics of coroutine composition through a deliberately simplified implementation of the task type.
-
An introduction to a series on C++20 coroutines, and why they offer an elegant solution to the problem of asynchronous state management.