Skip to main content
mrchnk
Participating Frequently
December 28, 2015
Question

Feature Request: allow to write AVM opcodes inside .as files

  • December 28, 2015
  • 1 reply
  • 406 views

It would be great if actionscript compiler allows to write opcode right in .as files. Like ASM-inline block in c/c++.

Apparat allows to do that but require a lot of work and requirements (scala 2.7/2.9 depends on apparat version) just to compile itself.

Current compiler does not allow to use useful/fast opcodes.

It become critical in some cases (i.e. multiplication 2 ints has a rounding error on some platforms)

Also you can vote for that feature in http://upli.st/l/feature-request-for-flash-and-air and in adobe bugbase https://bugbase.adobe.com/index.cfm?event=bug&id=4103225

This topic has been closed for replies.

1 reply

Inspiring
February 10, 2016

this can be done since AIR 3.6 using ASC2


see

Making ByteArray faster « Oh, by the way...

mrchnk
mrchnkAuthor
Participating Frequently
February 10, 2016

that allows only read-write operations on bytearray. it is useful, but not helps in some cases (eg integer multiplications)