by NickPollard · 12y ago · 0 comments
People can still write javascript with a JS->Bytecode compiler; people who want to write TypeScript or Dart can get better compilation or performance, and people can easily write a whole load of new languages and new compilers without being constrained by the intricacies and design decisions of Javascript.
I think asm.js has proven itself to be a "good enough" solution if we start writing some serious compiler tech
This new IR better be so much better than JavaScript and asm.js at being a compile target for languages, that it takes no time for web application developers and compiler developers support it with enough tools and applications to dwarf their JavaScript counterparts. Good luck with that.
All that Javascript will continue to run beautifully, but I'll be able to write C# or Ruby, and those who favour other languages will likely be able to write them too, as there are so many supported.
Sadly, JavaScript may very well be our bytecode. Unless by some miracle one of the intended JS replacements actually takes off.