From: Joel VanderWerf Date: 2006-05-28T03:03:45+09:00 Subject: Re: Ruby Threads... gwtmp01@mac.com wrote: ... > I do agree with you that it takes a lot of discipline to use threads > effectively. Many times it seems like a standard multi-process model > would work just as well as trying to play with fire in a shared > address space. Unix used to be known for its 'cheap' processes and > now everyone seems to think that process creation is monumentally > expensive. Agree in general, but in the case of ruby, note that forking a ruby process is more costly because of GC. In a short-lived child, GC can be disabled to improve performance. [ruby-talk:186561] -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407