From: Ilmari Heikkinen Date: 2005-04-11T20:36:47+09:00 Subject: Re: Seven new VMs, all in a row On 11.4.2005, at 12:04, flaig@sanctacaris.net wrote: > My first thought concerning "explicit" threads was: Have a look at > Erlang (http://www.erlang.org), which is explicitly designed for > distributed applications. >20'000 threads per application are not > uncommon in large Erlang programs, so I take it for granted that their > implementation must be pretty highly optimized. (Don't you ask me > which kind of threads is underlying the Erlang VM, though -- > concurrency is a grammar-level feature of Erlang). However, it's all > about CSPs. No shared memory. So this won't be much of a help, will > it? IIRC the Erlang threads are green threads and OS level parallelism is achieved through running several Erlang processes. Re: green threads vs native threads, if a green threads implementation is 30 times faster, that's like having 29 extra cpus, no? Ilmari Heikkinen -- 66. The regions beyond these places are either difficult of access because of their excessive winters and great cold, or else cannot be sought out because, of some divine influence of the gods.