News for hackers. Stuff that matters.
Re:How to think about `async`/`await` in Rust by versteegen on Wednesday July 05, 2023 @06:55AM (#36598539)
> I still do not understand why async was deemed appropriate, for example, in python.

My best guess is that it's because of implementation limitations in CPython and likely other interpreters. StacklessPython is a fork of CPython with real coroutines/fibers/green threads but apparently they didn't want to merge that patch. Very disappointing, because async/await is a nearly useless substitute for my desired usecase (embedded scripting languages with pauseable scripts).

Re:How to think about `async`/`await` in Rust by gpderetta on Wednesday July 05, 2023 @07:02AM (#36598608)
There is also gevent which is a library only coroutine extension which didn't require any changes to the interpreter itself. I'm also sure it would be easier to maintain and evolve if it was part of python core.