Archive for October, 2009

Ruby in a multicore world

« 31 October 2009 | 17:17 | patterns/idiom/style, JRuby | 1010 Comments »

While the Ruby 1.8 and 1.9 internal threading models differ significantly, the exposed concurrency model is fundamentally the same. Unlike Ruby 1.8, Ruby 1.9 threads do map to native threads, unfortunately the 1.9 interpreter forces user created threads to acquire a global mutex lock before executing. The upshot is that 1.9 thread execution […]