|
From: Alfonso R. <ms...@re...> - 2007-10-16 02:21:18
|
Steve, maybe there is no need to port NumPy or SciPy to Jython. I have found that Java can surprise us with a vast ocean of mathematical and scientific libraries. The only thing we have to do is add them to our classpath and done. Well ..., there is some work to do which is the "how-to-use" the libraries in the Pythonic manner. That's why I am taking the work of "porting" the calls to the Java libraries. I am not actually creating a new library - it is more a how-to use that library. Regarding the combo IPython+numpy/scipy+matplotlib, yes, it really does its work on the engineering calculations and plotting. I worked with and researched it for some months. But before starting development of a scientific application I saw that the users were more comfortable running applets and java applications (clicking on the .jar file or the .jnlp. That meant that I had to write the application in Java which I didn't want to do after being at the Python universe. So, how to get together the best of both worlds: Jython. To finish, my reasons for parallel and concurrent use of Python and Java (=Jython): Python - organized, structured and clean syntaxis (the use of indentation was a very clever invention). - intuitive and natural language: can use it to teach my kids programming - can't imagine any other language to teach object oriented programming - it's fun to program with it: non-declarative, easier to detect bugs Java - the swing GUI libraries are a perfect match for Python: they look (and work) so Pythonic - many, many libraries out there to use - lots of engineering and scientific applications we can learn of; lots of code - front-end familiar and friendly to the use: applets, .jnlp, .jar executables - liked by IT guys (you know, seem to panic to anything that carries .exe) Alfonso Reyes Houston, TX ***************************** Steve Lianoglou-2 wrote: > > Hey Alfonso, > > On Oct 14, 2007, at 8:34 AM, Alfonso Reyes wrote: > >> I was feeling the need to exercise my rusty array learnings from >> the university when we used to do this with Pascal and Fortran and >> decided to evaluate the Java array libraries available. One of them >> is JAMA, a very powerful and simple to use matrix manipulation >> package. > > That's pretty neat. I often wonder if it would be worth it to port > something like NumPy over to Jython w/ one of these java ndarray > backends. I've been using the colt library for some time (http:// > dsd.lbl.gov/~hoschek/colt/) in Java land and find it to be quite nice. > > Has anybody else found "the need" to undertake a project like this? > (Some googling actually turned up this issue at the Astronomy BOF @ > the SciPy conference this year (http://www.google.com/notebook/public/ > 00116375172106219610/BDQGkIwoQzuK738Yi > )) > > I'm not sure if there's a big payoff in doing this, though. The > IPython+numpy/scipy+matplotlib combo is great, but I'm not sure what > you'd get from porting to jython, since its pretty well self > contained in and of itself. > > Thoughts? > > -steve > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > -- View this message in context: http://www.nabble.com/Using-JAMA-arrays-with-Jython.-Jython-examples-tf4621603.html#a13225691 Sent from the jython-users mailing list archive at Nabble.com. |