LWN.net Logo

Sun yanks FreeBSD's Java license

Sun yanks FreeBSD's Java license

Posted Jan 12, 2005 21:39 UTC (Wed) by mmarq (guest, #2332)
In reply to: Sun yanks FreeBSD's Java license by piman
Parent article: Sun yanks FreeBSD's Java license

" None of these can be done at the traditional compile time, they all depend on very specific implementation details of the CPUs in question, and even on the runtime datasets. "

Are you telling that Java the Platform dosent allow to take advantage of all those special CPU features, different from architecture to architecture, as it can be done with the C compiler... so a "compiled to the metal" dosent take any mesurable advanyage over the VM bytecode ?

I'm not a Java programer or expert, but isn't that because the language is so focused in "crossing-platforms" by a "lowest common denominator" that is the JVM ?...

So perhaps changing Java the Platform(not only an open source VM implementation), in a way that the generated bytecode will be compatible with *TODAY* JVMs out there, and the native code can take advantage of all CPU features. And all this without changing the language sintax, and inventing a new language altogether?... no !?

Can of worms?... but isn't there already a can of worms in the mess of Java implementations? And with SUN going for the moon back and foward, things trend to get worst.

The advantadge is to link 'earlyer' to all those other pices of code that run in the metal like the OSes, Qt or GTK toolkits, OpenGL primitives,etc.. and make Java aplications swift and time aware, being able to make real time Java applications. The cross-platform will be assured by a compatible API/ABI across the different OSes and CPU architectures, and the 'old' Java (JVMs) behavior will be achived *simply* by compiling to bytecode and linking 'late' with all the pieces compatible.

Yes,... except for Web-services and other highly dynamic and mobil applications the VM importance and possibilitys will be void,... but isn't that already ? The change will be a major improvement to all those that love and program in Java.

"" At the end of the day, can or cannot, a Java program in an "optimized" binary executable form, linking ignored, be made to be as fast or "much" faster than the form in optimized bytecode, being the source code "equal" in both cases ??... ""


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds