gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] java port


From: David Allouche
Subject: Re: [Gnu-arch-users] java port
Date: Fri, 25 Jun 2004 18:03:21 +0200
User-agent: Mutt/1.5.6+20040523i

On Tue, Jun 22, 2004 at 08:42:45AM -0400, Aaron Bentley wrote:
> 
> Jan Hudec wrote:
> >On Tue, Jun 22, 2004 at 12:11:23 +0200, Peter Conrad wrote:
> >
> >>I've thought about Java integration of arch for a while, and I've come to
> >>the conclusion that the best way to do it would be to write Java wrapper
> >>classes that execute 'tla' and parse its output.
> >>
> 
> >Aaron Bentley is already doing that in Python. 
> 
> Credit where due: PyArch, the python Arch library, is David Allouche's 
> project (and I'm among several contributors).

Thanks for the credit :)

But let me point out that Aaron Bentley is by far the most important
contributor. I am try to evolve the project into a BDFL-managed
community work because design feedback and code from people who actually
use it to do something is my most valuable input.


> http://ddaa.net/pyarch.html
> 
> I'd say "Don't forget Jython", but in fact, PyArch requires Python 2.3, 
> and Jython doesn't have all the 2.3 features yet.  Jython does look 
> neat, though, and seems to interoperate with Java much more seamlessly 
> than Python works with C or C++.

I played with Jython a few years ago and even then it was just
absolutely amazing. That's a tool which makes me wonder why
technically-savyy people are still programming in raw Java when they can
get both the goodness of Python and the web abilities of Java with a
single language.

Jython 2.2 is maturing and new-style classes support is being actually
developped. New-style classes, properties, and generators (yield) are
the really important recent Python features PyArch depends on.

An important part of the work in PyArch is the design of the class
hierarchy, which explicits a lot of implicit design in Arch. If you are
doing any kind of object-oriented wrapper for Arch, I think we can
benefit from collaborating on object modelling issues.

-- 
                                                            -- ddaa




reply via email to

[Prev in Thread] Current Thread [Next in Thread]