Ruby Fibers: 8 Useful Reads On Ruby’s New Concurrency Feature

Courtesy Ruby Inside  Wed, 05/13/2009 - 13:47

fibers.pngNew to Ruby 1.9 is the concept of fibers .

Fibers are light-weight (green) threads with manual, cooperative scheduling, rather than the preemptive scheduling of Ruby 1.8's threads.

Since Ruby 1.9's threads exist at the system level, fibers are, in a way, Ruby 1.9's answer to Ruby 1.8's green threads , but lacking the pre-emptive scheduling.

Now that Ruby 1.9 is becoming more important with each passing month, I've rounded up some of the best articles...


 

More related items

Rhodes: Develop Full iPhone, RIM, and Symbian Apps...
Rhodes - developed by Rhomobile - is an intriguing framework of Ruby interpreters that can be used to develop native applications for the iPhone, Windows Mobile, RIM (Blackberry) and Symbian...

Ilia Alshanetsky's Blog: PHP's Output Buffering
In a new post to his blog Ilia Alshanetsky takes a look at PHP's output buffering feature and some interesting things he found when testing some recent code (hint: it has to do with PHP's...

PHP's Output Buffering - Ilia Alshanetsky
While profiling our application I came across a a rather strange memory usage by the ob_start() function. We do use ob_start() quite a bit to defer output of data, which is a common thing in...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com