A viable solution for Python concurrency
A viable solution for Python concurrency
Posted Oct 15, 2021 10:43 UTC (Fri) by t-v (subscriber, #112111)In reply to: A viable solution for Python concurrency by Paf
Parent article: A viable solution for Python concurrency
I'm sure there will be corner cases that need to be fixed in a lot of places. But then it'll be only in situations where people use multiple threads before they hit the corner cases, and given the current multithreading state of things, that should be quite a filter.
P.S.: Regarding alternative approaches: In the PyTorch context, people have been exploring quite a few aspects of "how to get Python-based DL models to run efficiently" from the TorchScript JIT/interpreter for a subset of Python, to multiprocessing to subinterpreter-style multithreading, so to me this looks like part of this larger picture.
