I feel like the author and/or the team is confused about what HTML5 actually is. They're probably right to conclude that JavaScript/HTML5 won't perform as well on lower end devices, but a few things struck me as odd. They mention Facebook switching away from HTML5, but I think Facebook is using the actual DOM, whereas their game would be using the canvas part of the HTML5 spec. Later they mention WebAssembly replacin…
> but what it's really replacing is JavaScript That is a common misconception, but there no evidence of this. WASM replaces Flash and Flash never replaced JavaScript.
The Death of Flash and Rewriting 1.4M Lines of Code
41–50 of 203 posts
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#42So let me get this straight. It was already written in ActionScript. They re-wrote the ActionScript. All of it, then ported it to the Haxe language.
So the purpose of the first "re-write" was... refactoring it to use GPU acceleration in ActionScript? I guess they just hadn't gotten around to that optimization in the first place and used this as an opportunity to do so. But was it strictly speaking, necessary?
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#43Earlier quoted context omitted.
> Flash pushed the web forward and demonstrated that it could be used to deliver real desktop like applications,videos and games, not just text and images. Java (and RealMedia) did that first. The thing that Flash brought was good tooling for creators and not just programmers.
We have very different recollections of the history. If your website had the Shockwave badge, I was excited. If your website has the RealPlayer badge, I likely went somewhere else. You also can’t underestimate the influence of the ‘new media’ web aesthetic, that was dominated by Shockwave (e.g. Praystation), on current web design principles and tools.
My memory may be faulty so I'll bow to anyone who has decent sources.
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#44Does anyone else have the feeling that there has been a move away from the kinds of tools that make it very easy for beginners to get started? I'm thinking of things like Hypercard, Flash or VisualBasic classic (VisualBasic in the 1990s). Simple tools that made it fun for non-programmers to learn the basics of computer programming? Even simple HTML/CSS has lost importance, and writing simple Web sites is how I got st…
Long before that, however, the fairly simple to understand Actionscript 2 was replaced by the more powerful but much more complicated Actionscript 3 and it became a lot less friendly to a new programmer.
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#45Earlier quoted context omitted.
> but what it's really replacing is JavaScript That is a common misconception, but there no evidence of this. WASM replaces Flash and Flash never replaced JavaScript.
WASM replaces Javascript as the target of other language compilers. If you already use Javascript, WASM won't be much help. But WASM lets you compile C/C++ and with a bit more effort other languages into a bytecode instead of weird looking Javascript, or its more streamlined and still weird form, asm.js.
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#46I feel like the author and/or the team is confused about what HTML5 actually is. They're probably right to conclude that JavaScript/HTML5 won't perform as well on lower end devices, but a few things struck me as odd. They mention Facebook switching away from HTML5, but I think Facebook is using the actual DOM, whereas their game would be using the canvas part of the HTML5 spec. Later they mention WebAssembly replacin…
> but what it's really replacing is JavaScript That is a common misconception, but there no evidence of this. WASM replaces Flash and Flash never replaced JavaScript.
There's a todomvc example app written in rust with no javascript besides the loader.
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#47Earlier quoted context omitted.
WASM replaces Javascript as the target of other language compilers. If you already use Javascript, WASM won't be much help. But WASM lets you compile C/C++ and with a bit more effort other languages into a bytecode instead of weird looking Javascript, or its more streamlined and still weird form, asm.js.
This will ensure every web page application can be closed source then right?
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#48In the sense that there is so much art locked away in SWF blobs which don't quite work with gnash or shumway. The last patent needed for MP3 decoders will, IIRC, expire at the end of this month, so we can include one of those everywhere too (essential for most SWFs).
Also, it'd be nice to have access to the Shockwave player, boy oh boy, I think just about nobody has tried to reimplement that (probably due in part to XTRAs and other fun). There's still plenty of Shockwave content out there, don't know if anyone here remembers playing the Gorillaz Final Drive gamette, IIRC released to promote 19-2000, or any number of other cool things people were doing with Director.
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#49> rewriting the entire codebase in ActionScript first to take full advantage of GPU acceleration, before porting it into Haxe So let me get this straight. It was already written in ActionScript. They re-wrote the ActionScript. All of it, then ported it to the Haxe language. So the purpose of the first "re-write" was... refactoring it to use GPU acceleration in ActionScript? I guess they just hadn't gotten around to t…
Re: The Death of Flash and Rewriting 1.4M Lines of Code
#50Earlier quoted context omitted.
We have very different recollections of the history. If your website had the Shockwave badge, I was excited. If your website has the RealPlayer badge, I likely went somewhere else. You also can’t underestimate the influence of the ‘new media’ web aesthetic, that was dominated by Shockwave (e.g. Praystation), on current web design principles and tools.
Sure but my recollection is that Java was the first major plugin that really took off. Then realmedia and other players came along. It was only in the 00's that I remember Flash taking off. My memory may be faulty so I'll bow to anyone who has decent sources.