News for hackers. Stuff that matters.
Re:Gordon: An open source Flash runtime written in pure Java... by catch23 on Wednesday January 13, 2010 @03:30PM (#1051049)
Also, I think most of the newer SWF files have lots of actionscript bytecode which is something that Gordon probably can't handle unless they implement their own stack-based virtual machine and implement all of the mx.core set of libraries.
Re:Gordon: An open source Flash runtime written in pure Java... by sethaurus on Thursday January 14, 2010 @02:14PM (#1053334)
A custom virtual machine probably isn't necessary. There are plenty of flash decompilers which can emit AS3 source from bytecode — and since ActionScript 3.0 is basically the old ECMAScript 6 draft spec, it can be trivially downcompiled to plain old Javascript using Mascara (http://ecmascript4.com/). Ideally the conversion would take place on a server-side proxy, and its ouput would subsequently be cached, but it could theoretically be done on the client as well. Re-implementing the standard library remains a major issue, but certainly not insurmountable.
Re:Gordon: An open source Flash runtime written in pure Java... by dutchflyboy on Wednesday January 13, 2010 @06:26PM (#1051470)
It would be possible (a bit slow though). This has already been done a few times with JS. For example, qBasic (http://stevehanov.ca/blog/index.php?id=92) or even virtualizing a whole device like the gameboy (http://www.codebase.es/jsgb/).