Skip to content

Comment on Google & the Future of JavaScript

Comments

I feel very uneasy about this. JavaScript is great because it is so simple. All the things mentioned sound as if they add unnecessary complexity.

Why not just leave JavaScript alone, and push for a more universal way for browsers to run code? Then different languages could be used, and those who want it could program with more advanced languages (or whatever they deem to be advanced).

Like ActiveX and NativeCode?

No, more like creating a VM. JavaScript is essentially the VM now, but I suppose something more universal could be created (more suitable for accommodating all sorts of languages).

Google has two efforts in this direction, the Dart VM and PNaCl. On many levels both are about as ideal as you could possibly imagine. However there is virtually no chance either is going to be adopted by other browsers. Neither are standard and both would require adopting huge new toolchains and codebases.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.