There's a bunch of awesome technologies out there for converting to JavaScript. Ever since the days of Google Web Toolkit, it's been possible to write your JavaScript in one language, and have it interpreted into the most optimized output possible. Recently, there's been a glut of these cross compilers: Brython, Coffeescript, and Typescript all come to mind. The biggest limitation of these systems though is that you must either
- pre-compile your code into JavaScript
- or use a browser-side parser and interpreter
But no more! JavaScript.js runs natively in all browsers, doesn't require a build step, and hooks into every web browser's native JavaScript engine. To get started, you just need to have a script
tag on your page.