Re:A viable solution for Python concurrency
by BiteCode_dev on Saturday October 16, 2021 @04:53AM
(#28886496)
Oh, you meant like, why don't Python didn't reimplement the whole interpreter around concurrency instead of using the tools it already had to find solutions to problems?
Well, that question is as old as engineering itself, and it's always a matter of resources, cost, history and knowledge.
If you look at Haskell, Erlang/Elixir, and Go, they all let you write performant sequential code by pushing the async into the runtime where the programmer doesn't have to see it. Python had an opportunity to do the same, but stayed with async and coroutines. What a pain.