Bonjour à tous !
Thank you for putting FFI in JRuby.
If I understand well it’s new possibility, it would allow me
to use native C extension (perhaps C++ later ?) directly from
a JRuby script as well as a standard Ruby script without writing
one C line of code !
This would made Java a great solution for scientific programming.
But for now I have two questions/remarks
(Nothing urgent, just validation for potencial use of scientific library
from java world…)
1 - when I run the ffi examples locates in "jruby-1.1.6/samples/ffi/’
directory, all but one scripts seems to work as expected:
=> nothing is display.
it seems that the require ‘rubygems’ line is bloquing
All works if I comment this line.
2 - I’d like to test JRuby/FFI with the GLPK library (Gnu Linear
This library is installed in a user location, and the folowing
(unix Leopart) environment variables are set :
What header line should I put into a script for using GLPK from JRuby
Also I hope that future version of standard Ruby also include ffi
To unsubscribe from this list, please visit: