[SciPy-user] python (against java) advocacy for scientific projects

Matthieu Brucher matthieu.brucher@gmail....
Mon Jan 19 15:31:26 CST 2009

2009/1/19 Sturla Molden <sturla@molden.no>:
> On 1/19/2009 9:33 PM, Marko Loparic wrote:
>> Specifically on this point, playing the devil's advocate, one could
>> argue that using java we could also migrate the offending routine to
>> C. Is there an element to argue that the Python/C mix is simpler or
>> more powerful than the same for java/C?
> You can use JNI with Java, and obtain the same effect. But as a 'glue
> language' Java is inferior to Python (i.e. Java is more verbose, and
> statically typed). And Java has shortcomings for scientific computing,
> such as no operator overloading and no complex number primitive. This is
> why projects like NumPy would not be possible with Java.

And data must be copied between the JVM and the C code.

Information System Engineer, Ph.D.
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher

More information about the SciPy-user mailing list