Traceur is a compiler that takes ECMAScript 6 (the next version of JavaScript) and outputs ECMAScript 5.
TypeScript is a new programming language from Microsoft that compiles to JavaScript (ECMAScript 3 compatible).
The versions of JavaScript a.k.a. ECMAScript that you might care about:
- ES 3 - This is lowest common denominator, for code that needs to run on IE 6-8
I'm pretty excited about ES 6. It looks like good decisions are being made, the process is converging (with new changes becoming smaller and smaller), and browsers are starting to implement it (like arrow functions in Firefox).
Has anyone taken a critical look at Traceur? Should everyone start using it (assuming you can drop IE 8)?
-- David