Jython is an alternate languages for the Java Runtime Environment. Its an implementation of the popular scripting language Python, but running on a JVM. For Python developers Jython is the best possible entry point to the Java platform; for Java developers it may be the strongest incentive to learn another language. This article introduces Jython and shows you what it can do to enhance your productivity on the Java platform.
“Jython code can be directly interpreted or it can be translated to Java source that is automatically compiled to class files (see Resources). Compiled Jython classes can be executed independently from the Jython interpreter or used from Java code as if they were Java classes (for example, to develop applets or servlets).”
My question; is the interpreter embedded inside those compiled class files? I’ve read different articles that say Jython performance is quite a bit slower than std Java, but I don’t really understand why that would be the case unless they were still relying on a psuedo interpreter.
Just for what it’s worth … and hopefully this won’t start a flame-war, but I do have to say that this is one major benefit that Microsoft’s .NET framework has over the JVM. Since the Intermediate/Byte code was development with type of capability in mind from the onset – it has now allowed something like 50+ various programming languages to run under the .NET framework.
I personally love to develop in Java, but SUN in the past 2-3 years has somewhat missed the ball on this one.
“it has now allowed something like 50+ various programming languages to run under the .net framework”
ya but the languages are not complet… they miss many thing….
on a projet, you will not use many language, otherwise that will cause to many problem
don’t forget there are only 40% of project who are success
use many language will not improve that
.Net is still a immature language and you are tied to windows platform. Currently all my customers request web apps to run on linux or unix and we have been developing in Java for the past eight years and everyone is happy. Jython just helps for scripting for Weblogic and Websphere admin reason. We are not using jython much just for automating things with the server.
Actually, IMHO having 50 lanuage is a bad thing, instead of good.
And, indeed there are lots of languages producing directly byte code (more than 60 i guess)
http://www.robert-tolksdorf.de/vmlanguages.html
but they are no where near Java’s popularity… Only to my knowledge Jython, Rubby, Beanshell and Groovy has found some user base..
.Net is still a immature language
.NET is not a language.
you are tied to windows platform
No, you are not.
> you are tied to windows platform
> No, you are not.
Oh, yes you are! Big time. What other platforms can you run .Net on? Project Mono (or is it Mano? ) is immature and flaky at best and will take many years before reaching the real production level maturity plus it carries a significant political agenda — something no one in enterprise space would like to touch with a ten foot pole. So, yeah, with .Net you’re pretty much locked in to Windows and MS practically owns you from that point on.
>you are tied to windows platform
>No, you are not.
And how you’d run a .Net app (apart from web based) on a Mac?Or even Linux?You are pretty misinformed.
>you are tied to windows platform
>No, you are not.
Let me know when Visual Studio.NET runs flawlessly on Linux or the Mac using Mono.
And how you’d run a .Net app (apart from web based) on a Mac?Or even Linux?You are pretty misinformed.
Mono…even thought its not mature yet.
> Let me know when Visual Studio.NET runs flawlessly on Linux
> or the Mac using Mono.
I beleieve Visual Studio .NET would be more in the teritory of WINE because it’s not a managaged program. But atleast part of it calls managed stuff so I would think part of it would be managed. So it would be really tricky to get working because part of it is completely unmanaged code(devenv.exe) and part of it is managed.
I wish they would just run under their own “schedule” so that Jython can be kept up-to-date. BeanShell and Groovy are not beholden to any “cousins” and so have a quicker update cycle.
“.Net is still a immature language”
This is an illitarate/incorrect statement. .NET is a platform or a framework. It is not a language. C# is a language. Java is a language. JVM is not.
-D
http://www.ironpython.com
So, basically speaking Jython is to Python what NetRexx is to Rexx?
We, on Arianne ( http://arianne.sourceforge.net ) are using Jython for embbeding the game rules script that is coded using Python.
I have to say that the result is really nice, but you get a performance hit, making it to run around twice times slower than the Java code. Anyway… I suppose you are not expecting to use Python for speed computing
My two cents
Any one knows when is next release of JYTHON? It was supposed to release this summer but no news yet.
What new features are expected in next release of Jython. Dose Java 1.5 Tiger help in improving performance of Jython?
Is there any special features specifically for Java based Scripting Languages.
I’m amazed at the miss-information here on .NET. Yes of course it runs on Linux and not so bad on Mac OS either (better soon). We’ve been waiting a while for Mono 1.0 to come out before checking it out, well this week we did. We’re mainly interested in high performance and easy to implement distributed programming across different languages and platforms – win, lin, mac (We currently use Python, FORTRAN, C/C++, Java, Delphi and Matlab all talking to each other seamlessly across the internet) but at the moment we use our own inhouse distributed software.
We did some proof of concept tests this week using mono and it went without a single hitch. We will be doing a much deeper exploration of Mono this fall so that we can hopefully to move over to it completely for all our work.
JPython is a very nice tool for Java programmers, but there is a need for multilanguage support and Java’s way is not particulary useful.
I think it would be suicidal for any business to build/use anything of importance using Mono right now. Who knows, just as Mono becomes widely used on Unix/Linux MS steps in with patent infringement claims and the game is over.
I am sorry but no responsible business could take that kind of risk.
>I think it would be suicidal for any business to build/use >anything of importance using Mono right now. Who knows, just >as Mono becomes widely used on Unix/Linux MS steps in with >patent infringement claims and the game is over.
>I am sorry but no responsible business could take that kind >of risk.
You’re might or might not be right, but then we’re not a buisines, we’re academic, hence patents don’t matter so much, we’re not trying to make money out of it.