Alchemy (Adobe)
Encyclopedia
Alchemy is a research project from Adobe Systems
Adobe Systems
Adobe Systems Incorporated is an American computer software company founded in 1982 and headquartered in San Jose, California, United States...

 that allows compiling C
C (programming language)
C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system....

 and C++
C++
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-level language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell...

 code to ActionScript
ActionScript
ActionScript is an object-oriented language originally developed by Macromedia Inc. . It is a dialect of ECMAScript , and is used primarily for the development of websites and software targeting the Adobe Flash Player platform, used on Web pages in the form of...

 Virtual Machine (AVM2), so that it can be run on Flash Player or Adobe AIR. This is achieved by compiling C/C++ code to LLVM bytecode and then translating LLVM to ActionScript 3 with inlined AVM2 bytecode, which is then compiled with a specialized ActionScript compiler. The resulting SWF/SWC is considerably faster than normal ActionScript code, but up to 2x - 10x slower than native C++ code.

External links

at Adobe Labs
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK