the asynchronous library
summary
Claims a usable header-only C++11 library (Github: henry-ch/asynchronous) that turns async work into named tasks, schedulers and proxies so objects live on one scheduler and callbacks run only while that object exists. Implements safe callbacks, continuations, thread pools, logging/diagnostics, interruption and a distributed task-stealing model; shows concrete examples (parallel Fibonacci tree, TCP stealable worker, eight-stage pipeline, 1,500-item cutoff for serial work) and reports it runs and avoids many mutex/deadlock shutdown failures.
AI-written summary · about
chapters (27)
- 0:00Intro
- 5:42Our Pattern Of The Day
- 6:51Asynchronous Programming
- 14:15Patterns: Thread-Safe Interface
- 16:12Mutexes, threads, etc.
- 20:02Patterns: Active Object
- 23:12(Boost) Asynchronous
- 24:15Asynchronous: Principles
- 26:04Asynchronous: Job Types
- 27:14Asynchronous: Definitions
- 29:20Asynchronous: Lifetime
- 31:27Features
- 32:15Hello, asynchronous world
- 34:43ServantProxy
- 36:51Threadpool
- 37:31post callback
- 39:26Interrupting
- 42:18Logging
- 43:52Schedulers / Stealing
- 44:55Priorities
- 46:00Interacting with Qt
- 46:37Continuations
- 53:04Distributing: Job Server with Pool
- 53:42Distributing: Simple Job Client
- 54:25Distributing: Job Client Server
- 55:12Building your own network
- 58:14Parallel algorithms examples
related talks
01h 00mDeciphering C++ Coroutines Part 2 - Mastering Asynchronous Control Flow
28mGrokking Asynchronous Work in Node.js
38mIvan Tulup. Async mess in JS under the hood
24mFormalizing Asynchronous Context
33mThe Birth and Evolution of AsyncHooks
20mNode and Libuv and Strongloop
41mPut on your asynchronous hat and node
22mDon’t Try This at Home: Synchronous I/O in Node.js
