forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 11:34 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Java Support
PostPosted: Thu Jun 07, 2012 2:57 pm 
Offline

Joined: Thu Jun 07, 2012 2:44 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: Java Support
PostPosted: Fri Jun 08, 2012 1:23 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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...


Top
 Profile  
 
 Post subject: Re: Java Support
PostPosted: Sat Jun 09, 2012 2:16 pm 
Offline

Joined: Thu Jun 07, 2012 2:44 pm
Posts: 2
Thanks Sergey, have you looked at Jython as a means to interface between CPython and Java?

Bwilliams


Top
 Profile  
 
 Post subject: Re: Java Support
PostPosted: Sat Jun 09, 2012 3:43 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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 :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group