LWN.net Logo

Java != JVM

Java != JVM

Posted Mar 12, 2004 20:21 UTC (Fri) by ncm (subscriber, #165)
In reply to: Java != JVM by ibukanov
Parent article: Will Mono Become the Preferred Platform for Linux Development? (O'ReillyNet)

The JVM/CLR and its follies constitute just part of the languages' problems.

Other problems include the poor range of choices for libraries that comes with an immature language. Another (although this has less effect on adoption than it should) is faulty language design, insufficient, for example, to encapsulate resource management, or to localize exception handling. Another is the execution model (independent of VM games) that requires garbage collection, thus big footprint, thus poor cache locality, thus unavoidable sluggishness, and memory leaks (despite the GC) that never get fixed. Another is the unfortunate 16-bit character type, too narrow to represent all the scripts it should, but too wide to represent atomically in a file system.

C++ works better than Java or C# for hard problems, and Python works better for easy problems, and for many hard problems too. There's plenty of overlap between them. Free Software just doesn't need a high-overhead language dropped into the middle of that overlap, unsuitable for either end of the spectrum.


(Log in to post comments)

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