Re:Ask HN: Why doesn't Adobe just kill the Flash Player?
by enobrev on Sunday December 18, 2016 @05:52AM
(#13205299)
I haven't worked with flash in at least five years, though I had worked on quite a few decent sized projects with it before then. I became quite competent with Actionscript 3 and absolutely enjoyed working with it. I'd always hoped Javascript would lean in that general direction, as was generally assumed early on (not that I dislike ES6).
I especially liked the potential for writing things dynamically and then refactoring toward strictness over time while moving a project beyond the prototype stage.
I'm surprised there's no AS3 => JS compiler.
Re:Ask HN: Why doesn't Adobe just kill the Flash Player?
by jsjohnst on Sunday December 18, 2016 @08:55AM
(#13205814)
> I'm surprised there's no AS3 => JS compiler.
There sorta is. Checkout Haxe [0] sometime. Technically it's a superset of AS3, but you can take most AS3 and use it as Haxe code. Then there are numerous transpilers for converting Haxe => whatever (one of which being JavaScript).
[0] http://haxe.org
Rather then killing it, I hope they just open source it. It is in some ways better then what we have in HTML5, but being closed source and not able to optimize enough for Mobile usage causes its death.