#Concurrency

5 posts

Modern Python Advanced #5: GIL and concurrency — threading vs multiprocessing vs asyncio
7 min read

Modern Python Advanced #5: GIL and concurrency — threading vs multiprocessing vs asyncio

What the GIL is, the role of threading/multiprocessing/asyncio, and the free-threaded build of Python 3.13–3.14 (PEP 703/779) — all in one place.

Go Advanced #2 Memory Model and the sync Package
6 min read

Go Advanced #2 Memory Model and the sync Package

Mutex, RWMutex, WaitGroup, Once, atomic — shared-memory synchronization tools beyond channels. Which to use when.

Go Advanced #1 Concurrency Patterns — fan-out, fan-in, pipeline
8 min read

Go Advanced #1 Concurrency Patterns — fan-out, fan-in, pipeline

Standard concurrency patterns assembled from goroutines and channels — pipeline, fan-out/fan-in, and semaphores.

Go Intermediate #4 select and Timeouts
5 min read

Go Intermediate #4 select and Timeouts

The select statement for handling multiple channels at once, plus practical patterns like timeout, cancellation, and non-blocking communication.

Go Intermediate #3 Goroutines and Channels Intro
7 min read

Go Intermediate #3 Goroutines and Channels Intro

Go's biggest strength — lightweight concurrency. Starting goroutines and communicating via channels, plus the gotchas you'll meet.