4 ms·
As a JS-y type dev, Typescript still looks better than Haxe to me. But then when you go the Haxe web site and discover its compilation targets (JS, C++, C#, Jav
by untog 11y ago
As a JS-y type dev, Typescript still looks better than Haxe to me. But then when you go the Haxe web site and discover its compilation targets (JS, C++, C#, Java, Python) you see the real utility.
IMO Haxe is something very, very different to Typescript, and is a lot more powerful.
- chii 11y agothe power of haxe to me, comes from the compile time macros (which is also written in haxe, ala lisp, just less dynamic). You basically get access to the AST during compilation, and directly write out new code. Great for adding in overhead-free abstractions, or even, dsl like languages.
- seivan 11y agoSeems like TypeScript is better suited for building web applications (backend and front-end) but HaXe has OpenFL that makes it amazing for games.
- larsiusprime 11y agoOpenFL is just one of the many Haxe frameworks, to be sure. For instance, Haxe is great for web applications too -- one of it's chief draws is that you can share the same code on the front end and the back end, but target whichever language is best for that. JS on the front, PHP/NodeJS/Neko/Etc/ on the back. UFront is just one great example: http://ufront.net/ http://ufront.net/ As for other multimedia frameworks, here's my best attempt at an exhaustive list: OpenFL - http://www.openfl.org http://www.openfl.org SnowKit - http://snowkit.org/ http://snowkit.org/ Kha - http://tech.ktxsoftware.com/ http://tech.ktxsoftware.com/ NME - https://github.com/haxenme/nme https://github.com/haxenme/nme Flambe - http://getflambe.com/ http://getflambe.com/ HEAPS - https://github.com/ncannasse/heaps https://github.com/ncannasse/heaps And things built on top of those: HaxeFlixel - http://haxeflixel.com/ http://haxeflixel.com/ HaxePunk - http://haxepunk.com/ http://haxepunk.com/ Luxe Engine - http://luxeengine.com/docs/ http://luxeengine.com/docs/ Away3D - https://github.com/away3d/away3d-core-openfl https://github.com/away3d/away3d-core-openfl HaxeUI - http://haxeui.org/ http://haxeui.org/ KhaPunk - https://bitbucket.org/stalei/khapunk https://bitbucket.org/stalei/khapunk