Python Rocks! and other rants 2004/3
Weblog of Kent S Johnson

2004-03-27

Python or Jython?

I have just finished a pretty good size project using Jython and Java. It was my first Jython application and I think it was very successful.

Now I am starting a new project and trying to decide whether to use Jython again or to use CPython. It's a tough choice.

In favor of Jython:

  • It fits in better with my company's Java culture.

  • I love dom4j. I used if for the domain model in the last project. The integrated XPath is really handy.

  • I like Velocity too.

So using Jython gives me access to familiar tools and to possibly useful legacy code from other projects.

On the other hand, Python has

  • All the cool stuff from Python 2.2 and 2.3 like generators and enum

  • Maybe better GUI toolkits (Tkinter and wxPython)

  • Much faster! A program I wrote to explore the dataset is several times faster in Python than Jython.

  • I don't have to deal with the cracks in the integration between Java and Jython.

Then there is always Groovy!

posted at 20:04:00    #    comment []    trackback []
 
2004-03-25

Groovy

I'm playing around with Groovy. It gets a lot right - easy access to lists and maps and first-class function objects, for example. Much of Groovy is 'just' major syntactic sugar for Java. Which is a good thing!

This page is a good start for figuring out why you might care... http://wiki.codehaus.org/groovy/WhyGroovy

posted at 22:58:56    #    comment []    trackback []
 

Another happy Python user!

Andy Hertzfeld says he programs in Python twice as fast as in Java!

posted at 22:50:24    #    comment []    trackback []
 

Trying out PyDS

This weblog is created using Python Desktop Server

posted at 08:22:08    #    comment []    trackback []
March 2004
MoTuWeThFrSaSu
1 2 3 4 5 6 7
8 91011121314
15161718192021
22232425262728
293031    
Feb
2004
 Apr
2004

Comments about life, the universe and Python, from the imagination of Kent S Johnson.

XML-Image Letterimage

BlogRoll

© 2004-2005, Kent Johnson