May 6, 2026
Too many cooks, one spicy thread
Behavior-Oriented Concurrency for Python
Python’s new no-lock coding idea lands — and commenters are already sharpening the knives
TLDR: A new Python tool says it can simplify running tasks at the same time by avoiding locks and passing data around more cleanly. Commenters immediately fought over whether the demo was unfairly bad and whether the whole thing is truly new or just an old idea reheated.
Python just got a flashy new pitch for making programs do multiple things at once without the usual tangle of locks, waiting, and accidental gridlock. The project, called behavior-oriented concurrency, says developers can stop babysitting who touches what and instead pass ownership of data around like a well-run kitchen. The sales pitch is simple: fewer headaches, easier code, and better use of modern multi-core computers. Very wholesome! Very "finally, breakfast without chaos!"
But the real show was in the comments, where readers immediately turned the cute omelette demo into a roast session. One of the strongest reactions was that the article’s lock-based comparison was "atrocious" and maybe even suspiciously bad, as if the old way had been dressed up to look extra terrible. Another commenter basically said, "Hang on, isn’t this just the actor model in a Python costume?" That kicked off the classic internet drama: new breakthrough or old idea with better branding?
Not everyone was just throwing tomatoes, though. One curious reader came armed with a lobste.rs discussion, trying to sort out what actually makes this different. So the vibe wasn’t pure dunking — it was half skepticism, half detective work. The funniest part? A post about avoiding deadlocks somehow inspired a comments section full of people trying to lock each other in philosophical combat over kitchens, cooks, and whether the example itself committed the first crime.
Key Points
- •The article presents Behavior-Oriented Concurrency (BOC) as a lock-less, deadlock-free, ownership-based concurrency model for Python.
- •It introduces the Python implementation through the package installation command `pip install bocpy`.
- •The article states that BOC gives each behavior unique temporal ownership of shared data, eliminating the need for locks.
- •It says behaviors are implemented as decorated functions and that programmers focus on data flow rather than concurrent data access management.
- •A tutorial omelette example is used to compare a simple sequential workflow with a more complex traditional threads-and-locks implementation involving contention, ordering, and waiting logic.