I have been tinkering with haXe a bit more lately trying to get a good handle on how it works on a lower level and seeing just how much faster I can get it to go versus AS3. I hit a couple strange haXe syntax issues like why the heck I can’t declare local class properties with default values. Aside from this, I’m getting used to the language. I implemented the below particle system using a perlinNoise technique to generate motion paths, implemented color sorting with bitwise operators, and used some advaced features like inlining and generics. On my machine, the final SWF uses less than 10% of my processor which is about 4-5% faster than a similar AS3 counterpart. This is not much to write home about, but Flash is always lacking in the performance area so any speed improvements are welcome!

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)


Author: Jonathan Dunlap
Jonathan is an experienced software engineer, sole blogger of JADBOX, author of FlashMVC, humanitarian, and has contracted work for Microsoft, Coke, and Disney.
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • Furl
  • LinkedIn
  • Pownce
  • Reddit
  • StumbleUpon
  • TwitThis
Auto-Generated Related Posts:
  1. haXe 2.04 – Surprises and Yawns...
  2. Round 2: haXe vs Unity3D vs O3D vs SFML...
  3. HaXe vs Unity3D vs XNA vs others...