News for hackers. Stuff that matters.
Re:Asyncio: A library with too many sharp corners by pansa2 on Saturday July 26, 2025 @10:30PM (#44698451)
> I like `gevent` but I think it may have been too hacky of a solution to be incorporated to the main runtime

gevent's monkey-patching might be hacky, but an official implementation of stackful coroutines (similar to Lua's) need not have been.

Instead, stackless coroutines were chosen - maybe on merit, but also maybe because C#'s async/await keywords were in-vogue at the time and Python copied them.

Re:Asyncio: A library with too many sharp corners by dontlaugh on Sunday July 27, 2025 @03:07AM (#44699423)
Stackless Python has existed for a long time. It’s “stackful” according to your definition, the term they refer to is the C stack.
Re:Asyncio: A library with too many sharp corners by pansa2 on Sunday July 27, 2025 @04:27AM (#44699751)
> Stackless Python

Reminds me of ANTLR - another project whose name is the opposite of what it actually does.

Re:Asyncio: A library with too many sharp corners by Nab443 on Sunday July 27, 2025 @06:32AM (#44700269)
Stackless python, we were not ready for it.