BT

Sun Gets Serious About Python

by Gavin Terrill on Jul 08, 2008 |

Python has been enjoying a tremendous rise in popularity recently. At the beginning of the year Python became TIOBE's language of the Year (for 2007), surpassing Perl and making it the 6th most popular language. Then, Django started to gain prominence, followed shortly after by the release of Google's AppEngine, which features Python technology. Today, Python got a further boost with two announcements from Sun that strengthen their support of the language. Dynamic Languages & Tools Architect Ted Leung and Jython Project Lead Frank Wierzbicki announced that future releases of NetBeans will support Python and Jython. A detailed list of planned features is available on the nbPython project page, and includes: Syntax highlighting with version support, Code Completion, Python/Jython support, PyUnit support, Debugger support, Python library manager, Bundled Jython Package and Execution of python scripts. Ted notes:

One of the obvious things that Sun could do in the Python world is to make Python a supported language in the NetBeans IDE. Netbeans has really nice support for Ruby and Javascript, so why should Python be left out? So today Sun is announcing that a future version of NetBeans will provide support for Python. We are not announcing which release of NetBeans that will be because we are taking an unconventional (at least for NetBeans) path towards providing that support.

Before Frank Wierzbicki and I were even hired by Sun to work on Python and Jython, Allan Davis, a member of the NetBeans community, decided to start implementing support for Python in NetBeans in a project called NBPython. What we’ve decided to do is to work together with Allan and the rest of the NBPython community to produce a high quality Python plugin for NetBeans.

The follow on announcement is around the opening of a Python zone at the Sun Developer Network:

The new Python Developer Center is your connection for downloads, community, libraries, documents, and frameworks for developing web applications with the Python programming language and Jython, its implementation for the Java platform.

Sun has proven that Netbeans is a viable IDE for languages other than Java, however it will be interesting to see how they will fare against established Python IDEs such as Komodo, Wing, and the PyDev Eclipse plugin. If they can do for Django what they did for Rails, it will be Game On!

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

good news by Deepal Jayasinghe

This is a good news for me since I am engaging on building a Jython extension for Axis2. That helped us to build Jython application in easy manner with IDE support.


Deepal

Good News Indeed! by Heshan Suriyaarachchi

I am involved in writing a python-binding to Apache Axis2/Java. While I was doing this; sometimes I had to execute python scripts in IDLE, first and then used them in my IDE.I did that kind of a thing, because it was easier for me to do it since my IDE did not have rich-feature support for python or jython. It is a good news for me indeed :)
I must congratulate Frank Wierzbicki for driving SUN in this direction.

Heshan

testing and building with Python by P Wood

A great way to get people using a scripting language like Ruby, Groovy or Python in a Java environment is to use it for non-production code. Tools like Ruby's Rake, RSpec, and Springy allow developers to become used to a language other than Java without the challenge of changing the company's mind too much.



Python has the lovely SCons for building, and doctests for acceptance testing, which combined with ctypes for accessing C APIs is appealing in the wider development world.



Many of these tools move us away from XML towards more expressive DSLs. A good thing.



What will the integration support be for using Python within Java or C/C++ projects for building or testing?

bizzare by Alex G

And how this python ad is related to Java and "Architecture"?

Re: bizzare by Gavin Terrill

I am judging that you think I may have been over the top in my Python zeal. I'm afraid you have caught me out - I admit that I'm a bit of a Python fan.

I included the Java community because of the Jython angle. Some have suggested that Sun is promoting this as a way to enhance the reach of the JVM.

We tend to use the Architecture queue as a grab bag for general interest topics that we think are relevant to more senior developers, architects, project managers, etc. In this case, I think the uptick in Python adoption could have a profound impact - particularly Django - so that is why I wrote the item.

In any case, thanks for reading the item and for your feedback!

Nice by Daniel Morgan

It's nice to see Sun taking an interest into what is a very stable language running on the JVM for quite some time now.
Once all the hype around ruby clears out, I think python will come out as one of the winners in the all the scripting languages puzzle.

Python, Ruby, What's the REAL difference? by Awful Pun

Apart from the eye candy (spaces vs end to terminate blocks) and other such shallow, trivial aspects what is the real difference between Python and Ruby? FIO I've programmed in both languages, and one of the first things I did for Python was to change the input language so that it used parentheses, I used said mod for a week until I was fairly up to speed. Using a similar system when embedding python in HTML would be trivial.

That Python and Ruby have different libraries doesn't count as a real difference either unless there are deep reasons why one language is better suited to a given purpose than another.


So.. what are the hard to achieve goals of today's programming environment and why is the one language better than the other?

For example, for which language would it be easier to write a compiler that automatically uses multiple cores, both for executing code in parallel and for constructing pipelines (core0 does some work and passes the result to core 1 that does some more which passes it ...)?

Regards, Max

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

7 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT