Search

Rss Posts

Rss Comments

Login

 

Compiling to JavaScript: TypeScript vs. Haxe

Aug 06

lars_doucet writes: Released in 2012, Microsoft’s TypeScript is perhaps the best-known “compile to JS” language, but it wasn’t the first. One of the earliest was Haxe, whose JS target first appeared in 2006. In his illuminating article, TypeScript vs Haxe, Andy Li gives an excellent rundown of the two languages’ various merits, but the bottom line is: “Existing JS developers will favor TypeScript as they are more similar in many ways. They can utilize their existing skills immediately. Non-JS developers with backgrounds like Java/C# or even from the functional programming world will appreciate Haxe more since it fixes a lot of weirdness of JS.” The full article includes an excellent rundown of the type systems, syntax, scope handling, compilers, and overall language design philosophy.


Read more of this story at Slashdot.

View source

Comments are closed.