From: Colin Bartlett Date: 2010-12-17T08:15:59+09:00 Subject: Re: Ruby and science ? --0023547c8b3769f43e04978f3c3b Content-Type: text/plain; charset=ISO-8859-1 On Thu, Dec 16, 2010 at 6:36 PM, Michel Demazure wrote: > Tony Arcieri wrote in post #968904: > > > > Have you considered trying to use a library like JAMA with JRuby? > > > > http://math.nist.gov/javanumerics/jama/ > > I am still reluctant to a jump to jruby. I'll first check GSL on MRI > (1.9.2). Doing fairly intensive actuarial type calculations I've found: 1. JRuby is currently(?) and anecdotally somewhat slower than MRI 1.9, but not so much slower as to be a problem. 2. Integration with Java seems to be easy: I'm not a Java programmer, but I've found it easy to write Java code to do the number crunching, and mostly easy to integrate the "compiled" Java code with JRuby. (I say mostly because at the start I couldn't find a way to compile the Java code in a way that would reliably work with JRuby, but that was essentially me not understanding how Java packages really worked. I still don't understand how Java packages really work, but I've found a way to compile that reliably works for me with JRuby!) That's a big plus because I definitely don't understand at the moment how to compile C code and integrate that with MRI Ruby. --0023547c8b3769f43e04978f3c3b--