JRuby, a thread safe Ruby implementation for multi cores
Ruby 1.8 was not thread safe, now the problem with 1.9 is ended, but there is the global interpreter lock, that prevents the MRI interpreter to scale on multiple cores. JRuby is not written in C, it is written using Java and uses Java threads. Java threads are thread safe and can scale on multiple cores, as any J2EE application.
Please, have a look this Google Tech video by Ola Bini, a JRuby core developer. He talks about JRuby, his threads, garabage collection and more.
Ola Bini works for ThoughtWorks, he has developed another language called Loke. Loke is built to run on the JVM and borrows many ideas from Lisp.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home