Native thread support in Ruby’s latest version

February 2nd, 2009     by Raymond Velez    
Official Ruby logo
Image via Wikipedia

It looks like Ruby version 1.9.1 supports native threads and fibers. Fibers are a ‘lightweight’ approach when you don’t need full threads. It sounds like fibers are not preemptive, so they have to yield to other fibers as opposed to threads that can run in parallel. Fibers on the other hand startup faster and use less memory.

I know when Java made the leap to support native threads, it seemed like it was a huge accelerator towards greater adoption. It looks like the performance numbers are already coming in and it’s much faster.

Reblog this post [with Zemanta]
Bookmark and Share

Del.icio.us Del.icio.us     Digg Digg     Technorati Technorati     Furl Furl     reddit reddit

Post a Comment

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 4 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a