Can we use compiled Haxe swf swc in ActionScript as regular libs?

Is it possible to use compiled Haxe swf swc in ActionScript as regular libs? I have swf compiled from haxe code (I can try to compile it into something else SWC for ex). I want to use it as lib in AS3.

Is it possible?

If so, how to do it?

+3
source share
2 answers

Yes you can, an increase in productivity is worth it, and it is surprisingly easy! I got 3-4-fold acceleration both by the simple sum algorithm of primes and by the complex algorithm of packing two-dimensional bins.

github - Haxe AS3. : https://github.com/jcward/HaxeSWCExample

: , 3-4 . , .

+7

, . , SWC, , , SWC.

+1

Source: https://habr.com/ru/post/1735523/


All Articles