News for hackers. Stuff that matters.
Re:Java Trap, 2010 Edition by jacobolus on Tuesday October 12, 2010 @09:31AM (#1783263)
The article’s argument is this: If you write your code in Python targeting Jython and the JVM, and the Java platform becomes unusable, there’s still a lot of your code that can be easily ported to run in CPython or IronPython or PyPy or something. If you write your code in Java and the platform becomes unusable and Oracle decides to squish alternative Java platforms, then you’re stuffed.
Re:Java Trap, 2010 Edition by nadam on Tuesday October 12, 2010 @09:47AM (#1783320)
Ok, so the problem is that Java the language supports only one target platform. This is not completely true, I don't know too much about about J#, but as far as I know using J# basically you can compile your program written with Java syntax to .NET.
Re:Java Trap, 2010 Edition by hga on Tuesday October 12, 2010 @10:17AM (#1783440)
J# is capped: the last version was shipped in 2007, it is supported by VS 2005 (now superseded by two newer versions) and support will end in 5 years.
Re:Java Trap, 2010 Edition by koenigdavidmj on Tuesday October 12, 2010 @11:08AM (#1783645)
And even that was quite an old version of the language--1.2, I think.
Re:Java Trap, 2010 Edition by ciupicri on Tuesday October 12, 2010 @10:33PM (#1785833)
Mono is able to run Java code side-by-side with .NET as well as having Java and .NET object interoperate with each other. This is done with IKVM (http://www.ikvm.net) the Java VM implementation that runs on top of .NET and Mono.

From http://mono-project.com/Java

Re:Java Trap, 2010 Edition by borism on Tuesday October 12, 2010 @09:47AM (#1783321)
I don't see how this could be true. What makes Java the Language so special that it can only be compiled into JVM bytecode and not something else?
Re:Java Trap, 2010 Edition by hga on Tuesday October 12, 2010 @10:20AM (#1783453)
You've got a point, however Java and its supporting standard libraries are very tightly bound. The question here would be why are you writing your code in Jython? If it's to get access to those libraries or other code written in Java, then you're just as screwed.
Re:Java Trap, 2010 Edition by jacobolus on Tuesday October 12, 2010 @08:42PM (#1785577)
I’m not a Java/JVM expert, I’m just trying to state the article’s argument as I understand it. I think the claim is that the legal issues (patents) w/ Oracle make Java the language harder to compile to something else. There doesn’t seem to be any overwhelming technical reason.