[erlang-questions] Millions of processes?
Wed Sep 24 11:25:51 CEST 2008
On Wed, Sep 24, 2008 at 10:36 AM, <> wrote:
> 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
> > } 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...
> "Beware of bugs in the above code; I have only proved it correct, not
> tried it."
> erlang-questions mailing list
"... because it is, frankly, stupid to have large numbers of threads. "
Dear oh dear.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions