JavaFX code runs at the speed of Java

The Java runtime used by Sun’s JavaFX is mature and well optimized, which means that non-visual code will generally perform well. I’ve just spotted that Josh Marinacci at Sun put up a version of my countprimes test to illustrate this. Here’s the JavaFX version. On my system JavaFX and Silverlight are neck-and-neck for this – sometimes one is faster, sometimes the other. Flash is much slower, and Javascript not in the race.

Next stop: an Alchemy version.

4 thoughts on “JavaFX code runs at the speed of Java”

  1. Gary

    I agree; but raw performance often matters even in GUI clients – things like sorting arrays, calculating positions etc.

    Tim

Comments are closed.