{"id":1088,"date":"2008-12-05T08:27:48","date_gmt":"2008-12-05T07:27:48","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/1088-javafx-code-runs-at-the-speed-of-java.html"},"modified":"2008-12-05T08:27:48","modified_gmt":"2008-12-05T07:27:48","slug":"javafx-code-runs-at-the-speed-of-java","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/1088-javafx-code-runs-at-the-speed-of-java.html","title":{"rendered":"JavaFX code runs at the speed of Java"},"content":{"rendered":"<p>The Java runtime used by Sun\u2019s <a href=\"http:\/\/www.javafx.com\/\" target=\"_blank\">JavaFX<\/a> is mature and well optimized, which means that non-visual code will generally perform well. I\u2019ve just spotted that Josh Marinacci at Sun put up a version of my <a href=\"http:\/\/www.itwriting.com\/primetest\/index.html\" target=\"_blank\">countprimes<\/a> test to illustrate this. Here\u2019s the <a href=\"http:\/\/www.javafx.com\/samples\/PrimeFactors\/index.html\" target=\"_blank\">JavaFX version<\/a>. On my system JavaFX and Silverlight are neck-and-neck for this \u2013 sometimes one is faster, sometimes the other. Flash is much slower, and Javascript not in the race.<\/p>\n<p>Next stop: an <a href=\"http:\/\/www.theregister.co.uk\/2008\/12\/02\/adobe_alchemy\/\" target=\"_blank\">Alchemy<\/a> version.<\/p>\n<div class=\"wlWriterEditableSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1c73f814-b359-41f8-90a8-7cb21b24b04f\" style=\"padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/javafx\" rel=\"tag\">javafx<\/a>, <a href=\"http:\/\/technorati.com\/tags\/silverlight\" rel=\"tag\">silverlight<\/a>, <a href=\"http:\/\/technorati.com\/tags\/alchemy\" rel=\"tag\">alchemy<\/a>, <a href=\"http:\/\/technorati.com\/tags\/performance\" rel=\"tag\">performance<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Java runtime used by Sun\u2019s JavaFX is mature and well optimized, which means that non-visual code will generally perform well. I\u2019ve just spotted that Josh Marinacci at Sun put up a version of my countprimes test to illustrate this. Here\u2019s the JavaFX version. On my system JavaFX and Silverlight are neck-and-neck for this \u2013 &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/1088-javafx-code-runs-at-the-speed-of-java.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">JavaFX code runs at the speed of Java<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,34,49,77,80,85,96],"tags":[],"class_list":["post-1088","post","type-post","status-publish","format-standard","hentry","category-net","category-flash","category-java","category-silverlight","category-software-development","category-sun","category-web-authoring"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/1088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=1088"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/1088\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=1088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=1088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=1088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}