[Haskell-cafe] Python's big challenges, Haskell's big advantages?

Manlio Perillo manlio_perillo at libero.it
Wed Sep 17 09:29:32 EDT 2008


Jefferson Heard ha scritto:
> Multiprocessing is hardly a solution...  I realize the Python
> interpreter's fairly lightweight on its own, but the weight of a full
> unix process plus the weight of the python interpreter in terms of
> memory, 

With copy on write some memory can be saved (if you preload all the 
required modules in the master process).

> context switching times, 

That's probabily the same as thread switching time.
And if you use asynchronous programming in each of the worker processes, 
you can keep the number of required processes at a minimum.

> and finally the clunkiness of the
> fork() model (which is HOW many years old now?).  

Old does not means bad, IMHO.

 > [...]


Manlio Perillo


More information about the Haskell-Cafe mailing list