Native thread support in Ruby’s latest version
February 2nd, 2009 by Raymond Velez
- 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]](http://img.zemanta.com/reblog_e.png?x-id=9da88d6f-baf2-4b42-b6bc-9264e386af15)
Del.icio.us
Digg
Technorati
Furl
reddit