On Sun, 25 May 2003 02:36:34 +0200
Frank v Waveren <fvw+freenet at stack.nl> wrote:

      n (n -> infinity)
> > Gripe(i) Java is...
     i=1

The best thing, IMO, that's ever been added to Java is the Python
environment.

Called 'Jython', it's actually a python interpreter in Java, that allows
Python code to interact seamlessly with Java.

What I'm saying is that there might be an excellent case to use this
mechanism to gradually migrate the Freenet codebase over to Python - it
can be moved one class at a time, without undue drama.

Once Fred's fully in Python, there'll be some huge advantages.

For one, Python programs can be readily built into binaries that run on
their target system without needing a Python environment.

For another, interfacing Python to C is effortless and painless,
especially given Pyrex - the Python/C interface language. Python code
can compile to vanilla C, and be incrementally optimised for speed.

For another, Java is just Pascal with a makeover, and a pretty bad one
at that. Python is a way cool language, that lets you get the job done
with far less effort and much more fun.

So what I'm proposing is an incremental migration away from Java and
towards a Python/C blend. Python for the comfortable effortless
abstraction, and C for the raw bit-bashing grunt. A big argument in
favour of this is that it's not an all-or-nothing deal - stable working
code can be released at many different points along the migration path.

Thoughts?
David

--

leave this line intact so your email gets through my junk mail filter
_______________________________________________
chat mailing list
chat at freenetproject.org
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/chat

Reply via email to