News for hackers. Stuff that matters.
Re:Async Python is not faster by dragonwriter on Friday June 12, 2020 @01:35PM (#23501630)
> OS threads are orders of magnitude lighter than any Python coroutine implementation.

But python threads, which have extra weight on top of an cross-platform abstraction layer on top of the underlying OS threads, are not lighter than python coroutines.

You aren't choosing between Python threads and unadorned OS threads when writing Python code.

Re:Async Python is not faster by otabdeveloper4 on Saturday June 13, 2020 @03:31AM (#23507588)
You're absolutely right.

I'm pointing out that this is a Python problem, not a threads problem, a fact which people don't understand.

Re:Async Python is not faster by dragonwriter on Saturday June 13, 2020 @06:45AM (#23508522)
Everyone has been discussing relative performance of different techniques within Python; there is neither a basis to suggest from that that people don't understand that aspects of that are Python specific, nor a reason to think that that is even particularly relevant to the discussion.