Ruby can easily be extended with a library which allows inline 
compilation of C code:

   http://www.zenspider.com/ZSS/Products/RubyInline/

which if used intelligently can greatly speed up some inner loops.

Charles Nutter just added the capability to do the same for Java code 
in the trunk version of JRuby.  This is a feature in that is probably 
quite useful in a very small set of situations -- what's wild is that 
it can be done at all.

Example:

   http://pastie.org/161826

Take a look at the benchmark comparisons at the end.
-- 
- Stephen Bannasch
   Concord Consortium, http://www.concord.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to