Hacker News new | past | comments | ask | show | jobs | submit login

The bytecode for AVM2 is fairly well documented, and there is a test suite that you can compare against. We reached 99% compatibility with that, and were at times much faster than the Flash VM (simply benefiting from years of investment in JS engines).

The hard part was understanding what the Flash player was doing, and the differences between all the different Flash Player and SWF File Format versions. Not to mention, re-implementing the rendering engine and the entire API surface of Flash, which was HUGE. We basically took existing content and tried to make sure Shumway did the same thing the Flash player did, wrote a regression test and repeated the process.

To this day, I still don't understand exactly how the timeline worked (or was supposed to work). It's like a web page DOM, but you can jump back and forth in the timeline, it's wild.

We certainly learned a lot working on Shumway. Firefox got a lot better, we stressed the JS engine and the graphics stack quite a bit, and had to make improvements all throughout the codebase to make Shumway possible.

In a lot of ways, Flash was great. Its rendering engine was (and still is) quite impressive, and nothing has really replaced it yet.




I feel the same way. Flash got so much crap from people, and a lot of it was deserved, no question, but people go so onboard with the "KILL ALL FLASH" bandwagon that they sort of forgot to replace it completely.

Video streaming with HLS isn't horrible, but it was so much easier (in my opinion) to do Flash with RTMP.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: