flash language_api_dynamic_translation
Dynamic translation
In order to optimise performance, the virtual machine 2 (AVM2) of Flash player 9 integrates an innovative compilation mechanism of the code on the fly. As much as this term may seem astonishing, this principal is called dynamic translation. In previous versions of Flash player the swf code was directly rewritten by the virtual machine in order to obtain better execution performances of the execution code.
In previous versions of Flash player, the code in the swf was directly rewritten by the virtual machine in machine language without any optimisation linked to the platform used.
In ActionScript 3 the virtual machine rewrites the binary code (ActionScript byte code) in machine language with the help of a compiler called ‘just-in-time compiler’. This allows you to only compile the used code in an optimised manner depending on the platform used.
The virtual machine can therefore optimise instructions for a specific processor while taking different platform constraints into consideration. For more information linked to compilation on execution: http://en.wikipedia.org/wiki/Just-in-time_compilation
Mediabox Training Centre © 2000 - 2008 All rights reserved.
Adobe Authorized Training Centre. State convention under number 25 14 02167 14.
Mediabox : SARL au capital de 62.000€ - Activity number: 25 14 02167 14 - SIRET : 493 716 468 00027
MEDIABOX, 102 Avenue des Champs Elysées, 75008 PARIS - Tel. +33(0)2.31.91.96.89 - Fax. +33(0)2.72.68.56.42


