5 ms·
I'd prefer a real solution to the JavaScript problem: put a real language in a web browser. JavaScript has done very well for what it is, but even Brendan Eich
by cookiecaper 13y ago
I'd prefer a real solution to the JavaScript problem: put a real language in a web browser. JavaScript has done very well for what it is, but even Brendan Eich openly admits it was a rushed project and was never intended to be the One True Client-Side Programming Stack.
We have lots of people writing very complex programs meant to alleviate some of the problems with JavaScript, when that effort could reasonably go into making Python a first-class web language by including a VM in browser distributions and writing bindings that allow DOM manipulation.
- icebraining 13y agoWe have a VM in browser distributions, it's called JavaScript.
- MrBra 13y agoAnd no one is complaining about it.
- agumonkey 13y agoFrom the few that I've seen ES6 will bring order to the universe.
- adamtj 13y agoIt's called asm.js. Make your real language compile to that. asm.js not Javascript. It's an assembly languange (well, at least an IR) for a simple static virtual machine. It's easy to write intepreters and JITs for that virtual machine, and modern browsers are starting to do so. It's not much of a stretch to think of asm.js as a way for browsers to run native code. Asm.js is the clever hack that lets you shoehorn any language you want into the browser and to run it fast.
- Jon_E 13y ago"I'd prefer a real solution to the JavaScript problem: put a real language in a web browser." That's what motivated Google to create Dart, which just went 1.0