JPE - Java Python Extension Project 
Author Message
 JPE - Java Python Extension Project


I don't think it's a good idea to have discussions on the
python-announce-list, so I'm sending this reply to
comp.lang.python, in case you want to continue ...  


> > Interesting.  Do you see any advantage to this versus ILU?

> >

> As I know, ILU allows communication between different process, and thus
> requires packing/copying/unpacking over all arguments using a neutral
> representation, that needs to be defined through an IDL, and so on...

IDL (or ISL) yes, but not *necessarily* packing/copying/unpacking ...

> In JPE, everything works in the same process, in the same memory space.
> pointers on Java objects are merely wrapped in python objects, and
> vice-versa.  A lot less overhead, especially when dealing with complex data sets.

That's a pretty fair description of the way ILU works, too --
although both may not be in the same process, they could be in
the same address space ... you may not be familiar with ILU 2.0,
which supports multiple languages in one address space -- see:

The reason I prefer the ILU paradigm is that it is multi-lingual:  
if one wants to integrate 3 languages in a point-to-point language
integration paradigm, *3* point-to-point integrations are needed
(x-y, y-z, x-z), whereas in the ILU paradigm, you need only one, even
for several languages.  Note that ILU supports Python, Java, C, C++,
Lisp (CLOS) and others.  

Also, when the next groovy language comes along, only one set
of interfaces needs to be defined for it, rather than a plethora
of integration solutions again.  

Okay, maybe folks just love to write these things, but I think
it would be really great to see contributions to the ILU project
rather than yet-another-language-x-language-y integration scheme,
of which now there are (at least) 2 for Python with Java.   I'd
wager that if all the effort that went into JPython and JPE had
gone into adding improvements to ILU, it would probably be better
than either one and would give Python the ability to call objects
and modules from several other languages as well!  

I can't believe that folks think Python and Java are all they'll
ever need ...  (On my project, we use Lisp, Java, and Python. ;^)  


For a nice frames version of the ILU docs, see:

http://www.*-*-*.com/ ~testbed/ilu/ilu20doc/

-- Steve.

                                           oo _\o
                                            \/\ \
____________________________________________ oo _________________
"Sometimes you're the windshield; sometimes you're the bug."
- Knopfler

Stephen C. Waterbury                       Component Technologies
Code 562, NASA/GSFC                  and Radiation Effects Branch
Greenbelt, MD 20771           Engineering Web/Database Specialist
Tel: 301-286-7557                              FAX:  301-286-1695        
WWW:           http://www.*-*-*.com/

Fri, 09 May 2003 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. JPE - Java Python Extension Project

2. JPE: Java - C Python Extension Project

3. JPE 2.0 The Java-Python Extension

4. JPE (Java-Python Extension) V2.0

5. ANNOUNCE: JPE, the Java-Python Extension - first beta release

6. ANNOUNCE: JPE, the Java-Python Extension - first beta release

7. JPE (Java-Python Extension) V2.0

8. JPE 2.0 The Java-Python Extension

9. JPE 2.0 The Java-python Extension

10. Using JPE: Problems with the java virtual machine

11. Java project -- use Python instead?

12. Several recent Java/Python project announcements


Powered by phpBB® Forum Software