4 ms·
> I also am very weary to mix asynchronous code with other primitives like threading, multiprocessing. If I am going the route of async programming - I usually
by kissgyorgy 7y ago
> I also am very weary to mix asynchronous code with other primitives like threading, multiprocessing. If I am going the route of async programming - I usually just intend to optimize a single thread - and then I leave it up to the OS to optimize across multiple processes.
A lot of the time you simply can't not have another thread or process, for example, when you have a blocking library call or CPU intensive task.