Friday, November 21, 2008

Alchemy: C and C++ running in Flash

So you think Flash is fast now? Check out Alchemy as soon as you can. Alchemy was previewed 11 hours ago for the purpose of reusing existing C and C++ libraries in Flash Web applications.

Alchemy is a research project that allows users to compile C and C++ code that is targeted to run on the open source ActionScript Virtual Machine (AVM2). With Alchemy, Web application developers can now compile their C and C++ code on Adobe Flash Player 10 or Adobe AIR 1.5.

Developers should be careful to avoid using C and C++ projects that rely on OS-specific libraries. Alchemy is ideal for computation-intensive use cases (which can be slower on Flash), such as audio/video transcoding, data manipulation, XML parsing, cryptographic functions, or physics simulation.


Runtime performance can be considerably faster than ActionScript 3.0 and anywhere from 2-10x slower than native C/C++ code. Alchemy is not intended for general development of SWF applications using C/C++.

For more information, go to


Do not spam this blog! Google and Yahoo DO NOT follow comment links for SEO. If you post an unrelated link advertising a company or service, you will be reported immediately for spam and your link deleted within 30 minutes. If you want to sponsor a post, please let us know by reaching out to duane dot nickull at gmail dot com.