#Concurrency
4 posts tagged Concurrency. All posts
Free-threaded Python 3.14: running threads without the GILWhat PEP 703 and PEP 779 changed, how to install the 3.14t build, check whether the GIL is on, time a CPU-bound threading example, and avoid extension pitfalls.
asyncio TaskGroup and asyncio.timeout: structured concurrency in PythonReplace asyncio.gather with TaskGroup, handle failures with ExceptionGroup and except*, add deadlines with asyncio.timeout, and cap concurrency.
Producer/consumer queues in .NET with System.Threading.ChannelsUse System.Threading.Channels for in-process queues in .NET: bounded vs unbounded, full modes, several consumers, completion, and a background job queue for a web app.
Tokio channels in Rust: mpsc, oneshot, broadcast and watchWhen to use each Tokio channel: bounded mpsc and backpressure, an actor with oneshot replies, broadcast lag, watch for config, and shutting tasks down cleanly.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)