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.

Related posts:

  1. JavaFX – just for Java guys?
  2. Sun’s JavaFX is launched: another go at applets
  3. Have you seen a real JavaFX app yet? Sun’s misleading 100 million claim
  4. JavaFX warns against itself on Macs
  5. Oxygene for Java released: develop for Android and Java runtime with Delphi language in Visual Studio

4 comments to JavaFX code runs at the speed of Java