Mike's face
Wednesday, December 13th, 2017








Java

Photo of Java

Java has to be one of the most productive programming languages. Al least, for the types of projects that I'm exposed to. Fairly large applications with small development teams.

Until recently, and sometimes even today, some people think Java is slow, because it's about "interpreting byte codes". However, in some cases it can actually run faster than C++! This is possible through on-the-fly compilation techniques, which translates the byte codes to machine code at runtime. And because it's compiled at runtime, it knows how the application is used, and on what exact hardware it's running on. It can make key custom optimizations that are too difficult to know at compile time.
Java also is very good at inlining code, much better so as C++ is.

Java:

  • Cross platform; WORA - write once run anywhere
  • Clean API not clouded by OS frills
  • Access to most API's internals
  • A wealth of freely available libraries and technologies
  • Established server J2EE enterprise
  • Introspection, dynamically access objects
  • Java2D
  • Free spirited community

Java sometimes faster than C

Mon Dec 20/04 14:37

Still think that Java is interpreted and/or slow?  Let's set the performance record straight, shall we?
(more)

Java 1.5

Also called Java 5.  Most significant upgrade since 1.1 to 1.2, with new language features, extended API's, and performance enhancements.
Specific articles about Java 1.5.
(more)

How To's

How-to's and examples that are helpful to solve specific challenges.

(C) Copyright 2004-2007 Mike Pot