From: Ola Bini Date: 2006-11-11T05:43:45+09:00 Subject: Re: Book wanted: Metaprogramming in Ruby Phil Tomson wrote: > On 11/9/06, M. Edward (Ed) Borasky wrote: >> Kero wrote: >> > A wrapper around sys V has been done by others, too; mix in a bit of >> dRb and >> > I think you're rolling (except when you want Erlang-level of >> performance). >> > >> As a matter of fact, that's exactly what I want! Erlang or Termite >> Scheme lightweight processes, thousands of them, on thousands of nodes! >> > > So how are Erlang lightweight processes implemented? I thought that > there would be a 1:1 correspondence between Erlang processes and > processes on the OS, but apparently Erlang handles it's own processes > (?) if that's the case how do they take advantage of multiple > processors? > > Phil > > Erlang processes are usually implemented with M:N-threading. -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined.