2 ms·
> In Python, threads are only useful as an abstraction of things that have to run concurrently, even though they never do. This is just false. Threads still of
by gizmo686 14y ago
> In Python, threads are only useful as an abstraction of things that have to run concurrently, even though they never do.
This is just false. Threads still offer performance benefits for non-CPU bound operations. For example, if you are trying to download data from 100 different sources, you could do it in a single thread, but python would spend most of its time idling while other prosseses do work, or you could have 100 threads, so python can do work while it is waiting on other stuff to get done.