3 ms·
I don't understand why people have to build everything with Javascript. Objectively there is nothing that makes Javascript better suited for games than Flash/as
by Meai 15y ago
I don't understand why people have to build everything with Javascript. Objectively there is nothing that makes Javascript better suited for games than Flash/as3. I don't think that last ~0.5% of lacking Flash adoption is bothering anyone.
There are no good IDEs for javascript. Library support is bad (Greensock? Flixel?) You don't honestly think that your 99$ library holds its own against these completely free features: http://flixel.org/features.html http://flixel.org/features.html
Also People can much more easily steal your code and images than in Flash.
As soon as Javascript really catches up with Flash on most of these things (which will still take a few years) we hopefully can program in Native Client which will destroy both Javascript and Flash.
Extra topic on why browsers refuse to implement native client:
If someone could explain what stake Browsers have in Javascript, I'd love to hear it. I have two theories:
Browsers want to keep the web as "open" as possible. This means Javascript, because native binary executables would close this up immediately.
On the other hand, I don't really understand the point of this openess. Every other market in existance goes by fine with binaries. Vendors give you tutorials and examples on how to build software. So what is the point of being open? To steal code? I don't see any other reason anymore.
So I don't really think it's about being open for browser vendors. It's about control. If anyone can trivially write their own layout engine, has their own favorite language on the client....what are browsers worth then? Absolutely nothing, they would be degraded to cURL.
It can't be security. Obviously javascript can call c code too, Nodejs does it. It's about sandboxing, and I see zero reasons why it can't be possible to sandbox pure c properly.