From: "M. Edward (Ed) Borasky" Date: 2006-11-11T12:58:38+09:00 Subject: Re: Book wanted: Metaprogramming in Ruby Ola Bini wrote: > 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. > I haven't been able to dig into the core of Erlang, but the Gambit/Termite Scheme implementation is very simple, well-documented and easy to understand (assuming you know Scheme syntax and semantics, which are also simple, well-documented and easy to understand.)