Hacker News new | comments | show | ask | jobs | submit login

I don't think we're in a position to say. JavaScript is good enough and ubiquitous enough that a replacement will have to be pretty compelling. The only thing I see on the horizon that's actually got a shot at unseating JavaScript... is JavaScript. (EcmaScript 6.)

Whatever replaces JavaScript will have to do the following just to get its foot in the door:

* Run on every browser in use

* No compile/build step required

* Work with browser tooling and debuggers

And it will probably need:

* Familiar syntax

* Work with all significant existing JS tooling, libraries, and frameworks

...and that's before we even get to the merits of the language itself.

My guess, and it's purely a guess, is that massively multi-core processors are the wave of the future, and that pure-ish functional languages are going to be needed in order to program them effectively. So that's my bet as for what will be compelling enough to replace JavaScript. But I'd also guess that EcmaScript will get there first, at least in terms of widespread adoption. Perhaps as a pragma'd subset like "use strict" or "use asm".

It's worth noting that ES6 actually does not run without compilation on every browser (and will not for a while) since it introduces breaking new syntax instead of stuff that could be polyfilled. For all intends and purposes it's a new language (it's like C++ to C). So maybe any other superset of JS would have the same chances.

Maybe, but I doubt it. ES6 is almost certain to get implemented in browsers. Other languages won't have that crucial advantage.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact