[erlang-questions] Millions of processes?
attila.rajmund.nohl@REDACTED
attila.rajmund.nohl@REDACTED
Wed Sep 24 09:36:07 CEST 2008
On Tue, 23 Sep 2008, Vance Shipley wrote:
> On Tue, Sep 23, 2008 at 07:09:30PM +0200, Ulf Wiger (TN/EAB) wrote:
> } In the Linux kernel FAQ, the philosophy on threads is
> } explained thus:
> }
> } "Avoid the temptation to create large numbers of threads in your
> } application. Threads should only be used to take advantage of multiple
> } processors or for specialised applications (i.e. low-latency real-time),
> } not as a way of avoiding programmer effort (writing a state machine or
> } an event callback system is quite easy).
>
> Contrast that to the Erlang Programming Rules and Conventions:
>
> 5.4 Assign exactly one parallel process to each true concurrent
> activity in the system
Don't forget that in erlang's case the above mentioned "programmer effort"
was already done by the developers of the erlang VM...
Bye,NAR
--
"Beware of bugs in the above code; I have only proved it correct, not
tried it."
More information about the erlang-questions
mailing list