Hacker News new | ask | show | jobs
by eiopa 2218 days ago
This reminds me a lot of python’s gevent.

I often wish the language had adopted it instead of the C#-like await async, since it’s just more straightforward.

1 comments

gevent has some serious drawbacks. Stack traces are incomprehensible, it works by monkey patching existing code, and it falls apart if you have a blocking operation gevent can't make async. Loom is a bit like monkey patching, but at the VM level, so I expect it to be much more stable.
It's worth mentioning those drawbacks are implementation problems, not soundness or ergonomic problems with the model itself.

I would consider myself a pretty harsh critic of Python but even I appreciate the elegance of the gevent approach to concurrency.