News for hackers. Stuff that matters.
Re:Behavior-Oriented Concurrency for Python by hanselot on Wednesday May 06, 2026 @06:51AM (#48034739)
Is it just me or is the example they use for the locking extremely badly implemented?

Why would one ever result at that methodology?

Re:Behavior-Oriented Concurrency for Python by rirze on Wednesday May 06, 2026 @09:32AM (#48036053)
It's researchers trying to contrive an example for why their research effort deserves a budget every year.

Of course their example will be detached from reality. But it doesn't matter.

Re:Behavior-Oriented Concurrency for Python by traderj0e on Wednesday May 06, 2026 @06:32PM (#48042784)
The nested `with`s are weird, but otherwise what would you do differently? Seems like a standard pattern.

I still don't really see behaviors helping with this. Like yeah you avoid deadlocking, but now you're abstracting away mutexes :S