[Python-ideas] Python 3000 TIOBE -3%

Masklinn masklinn at masklinn.net
Fri Feb 10 16:11:54 CET 2012


On 2012-02-10, at 15:52 , Massimo Di Pierro wrote:
> Erlang may not have threads in the sense that it does not expose threads via an API but provides optional parallel schedulers

-smp has been enabled by default since R13 or R14, it's as optional as multithreading being optional because you can bind a process to a core.

> In Python, currently, you can only do threading to parallelize your code without duplicating memory space, but performance decreases instead of increasing with number of cores. This means threading is only good for concurrency not for scalability.

That's definitely not true, you can also fork and multiprocessing, while not ideal by a long shot, provides a number of tools for working building concurrent applications via multiple processes.




More information about the Python-ideas mailing list