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 . , .