News for hackers. Stuff that matters.
Re:Async Python is not faster by tijsvd on Friday June 12, 2020 @02:19PM (#23502089)
Green threads are scheduled by the language runtime and by the OS. If the OS switches from one thread to another in the same process, there is no context switch, really, apart from the syscall itself which was happening anyway (the recv that blocks and causes the switch). At least not on Linux, where I've measured the difference.

There are no comments on this comment yet.