haXe Forum > Haxe swc for use in Flash?
-
Neil Feb 06 at 00:08
I am trying out Adobe Alchemy for doing some intensive integer processing. This allows me to create a .swc that has a set of callable methods on a class. These methods can work quickly with large amounts of data in alchemy memory (a portion of an AS3 RAM ByteArray).
.
I understand that Haxe is also able to use the new AS3 op-codes that were added for alchemy.
.My questions are two-fold:
.
1) Will Haxe provide similar performance to alchemy for looping over large amounts of integer data (shorts, bytes, or ints).
.
2) Can the Haxe code be compiled into a .swc for use in a regular Flash application, or do I have to make the whole application Haxe? I would prefer to be able to use Haxe as-needed rather than change over my whole application.
.
Thanks! -
This information is all fairly easy to find it is better to use all haXe for code and only use flash if you want for graphics, but here's some links let us know if you collate any useful test information, also there is some discussions on the haXe mailing list, but they are probably harder to find.
1)
Nicholas blog why alchemy can be slower than haXe
Nicolas blog on implementing memory
flash9.memory
speed tests - 1million particles
2)
creating haXe swc's
.
more google finds...
something-about-practical-usage-of-flash-memory-in-haxe
a-little-alchemy-in-hx3ds
another-scream-on-flash-alchemy-memory-and-compilers