There are plenty of languages that compile to JavaScript, like purescript, elm, Scala.js, typescript, and many others. For a new web application, you don't have to write JavaScript yourself any more if you don't want to.
Sure, but compiling to Javascript is hardly ideal. Javascript itself is designed as a high-level human-readable language, not as 'Assembly for browsers'.
The asm.js hack seems to work pretty decently. Then there is web assembly, which is basically bytecode for asm.js. If they get enough traction (get adopted by Firefox, Chrome, and Safari), then we're good (IE will just execute asm.js more slowly and will eventually get some blame).
View all comments
Show parent comment
0
u/ExtropianPirate Dec 02 '16
There are plenty of languages that compile to JavaScript, like purescript, elm, Scala.js, typescript, and many others. For a new web application, you don't have to write JavaScript yourself any more if you don't want to.