News for hackers. Stuff that matters.

Why not embrace ActionScript 3 as a replacement for JavaScript?

I've been wondering for some time why AS3 has not been considered for the next generation of Javascript? It's ECMA script, it's statically typed, very well documented. It works incredibly well for display, models and controllers. Supports many types of data. Every piece of interactive web during the last century used AS3. So why not?
( 5 comments | 3 points | on HN )
Re:Why not embrace ActionScript 3 as a replacement for JavaS... by S4M on Thursday March 26, 2015 @09:17AM (#9269282)
I started a project in ActionScript3, and the language felt like an inferior version of Java, with static typing, everything is in the class, but without the generic. I know my experience with it is very short, but it was not pleasant to work with it. There wasn't a good free IDE support as well, and it was not possible to debug a program under Linux.
Re:Why not embrace ActionScript 3 as a replacement for JavaS... by Millennium on Thursday March 26, 2015 @09:21AM (#9269303)
AS3 is an implementation, not a standard.

Large parts of AS3's feature set actually were considered for standardization, back in the days of the "ECMAScript 4" standard (in quotes because it was never released). That standard was abandoned, due to differences some dismiss as politics and others claim were due to implementation and complexity issues.

Re:Why not embrace ActionScript 3 as a replacement for JavaS... by omeid2 on Thursday March 26, 2015 @09:07AM (#9269230)
Politics, mostly.

The same reason it took (takes?) asm.js to move towards a virtual-machine with a standard bytecode so you can pick your language of choice.

Re:Why not embrace ActionScript 3 as a replacement for JavaS... by algolove on Thursday March 26, 2015 @09:11AM (#9269248)
Do you know if this was ever considered?
Re:Why not embrace ActionScript 3 as a replacement for JavaS... by Pr0ducer on Thursday March 26, 2015 @11:06AM (#9270131)
"Every piece of interactive web during the last century used AS3." I'm pretty sure this is not true.