forum.alglib.net
http://forum.alglib.net/

Java Support
http://forum.alglib.net/viewtopic.php?f=2&t=586
Page 1 of 1

Author:  bwilliams [ Thu Jun 07, 2012 2:57 pm ]
Post subject:  Java Support

Is there a way to import any of the presently supported software languages to Java? I am using NetBeans IDE from Oracle and I need to find away to integrate this software into a java program.


bwilliams

Author:  Sergey.Bochkanov [ Fri Jun 08, 2012 1:23 pm ]
Post subject:  Re: Java Support

You can compile C++ version of ALGLIB and call it by means of JNI. I suppose that it will work, although you will have to write a lot of code...

Author:  bwilliams [ Sat Jun 09, 2012 2:16 pm ]
Post subject:  Re: Java Support

Thanks Sergey, have you looked at Jython as a means to interface between CPython and Java?

Bwilliams

Author:  Sergey.Bochkanov [ Sat Jun 09, 2012 3:43 pm ]
Post subject:  Re: Java Support

No. If I were to implement ALGLIB for Java, I would implement it as Java wrapper around C++ version, which communicates by means of JNI. CPython version of ALGLIB is just another wrapper around C++ version, so using one wrapper to access another wrapper gives too large overhead :)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/