Shumway: Mozilla Does An Open-Source SWF Runtime

Posted by Michael Larabel on November 14, 2012

Mozilla announced Shumway this week, a new research project that seeks to create an open SWF (Adobe Flash) run-time environment to make Flash more open and for exposing SWF capabilities to platforms where the Adobe file-format wasn't backed by an official Flash Player.

Shumway is still very experimental and not working for all SWF content, but it's moving along and evolving rapidly. Shumway should be especially interesting for mobile devices where Flash Player support tends to be lacking. The Shumway implementation comes down to five components: Core, AVM1, AVM2, Browser Integration, and Testing/Demos.

The Shumway Core is made up of the file-format parser, rasterizer, and event system. AVM1 is a JavaScript interpreter for ActionScript versions one and two Bytecode, and AVM2 is a JavaScript interpreter and Just-In-Time (JIT) compiler for ActionScript 3 Bytecode.

Details on Mozilla Shumway were announced in this Mozilla Research blog post. The code is currently being hosted on GitHub where it's described as, "Shumway is an HTML5 technology experiment that explores building a faithful and efficient renderer for the SWF file format without native code assistance. Shumway is community-driven and supported by Mozilla. Our goal is to create a general-purpose, web standards-based platform for parsing and rendering SWFs. Integration with Firefox is a possibility if the experiment proves successful."

This non-native implementation is what differentiates Shumway from the other open-source SWF / Flash Player projects like Gnash and Lightspark.

Shumway can be built as a JavaScript extension to Mozilla Firefox on versions 18 and later of the popular open-source web-browser. Shumway might be ultimately integrated into Firefox if the project moves along enough and reaches a stable point.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite