Hacker Newsnew | past | comments | ask | show | jobs | submit | clemos's commentslogin

You can do Unity with Haxe, but not the other way around, so clearly Haxe > Unity :p



Thought so, uhhhh also, Haxe is open source, need I say more?


We made a cross-platform (Flash, HTML5, Android, iOS) video player for TF1 (first French TV channel, considered the most viewed TV channel in Europe)


So ?


I put a lighter theme, and increased line spacing a bit


Also, IMHO the fact that Haxe looks familiar to people coming from Javascript, ActionScript, or Java is a plus.


Agreed. I'd wager there are substantially more people learning JavaScript these days than PHP, not that PHP looks too foreign, relatively speaking.


Well at least it doesn't look like PHP...


Actually functions are private by default.

"static function main()" seems to work as an entrance point, though, which makes sense somehow...


I'm sorry, you're correct of course! Private is the sane default obviously.


It could be fun to have a CoffeeScript to Haxe converter, though.


Infinite loop of compilation! Haha


NME is particularily good in building "Flash-like" applications, so mainly games.

I think Appcelerator is more adapted to applications that want to use native UIs elements (menus, buttons, layouts, etc).

Then you can still write an Appcelerator app using Haxe :) https://github.com/skial/haXe-titanium-desktop

I don't know how/if it's possible to mix both, for example embed a NME app inside an Appcelerator app (besides using UI.WebView and embed it as HTML...)


Given that a .swc is basically a zipped .swf, this currently depends on runtimes:

- Haxe/Flash supports embedding .swf libraries : http://haxe.org/manual/swc

- NME/C++ (Android, iOS, ...) has partial support for .swf libraries : http://www.joshuagranick.com/blog/2012/02/08/quick-notes-on-...

- NME/HTML5 doesn't seem to support .swf right now, but I think it's being worked out.

Then you have third party tools such as Flump or Flambe to help you: https://github.com/threerings/flump https://github.com/aduros/flambe


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: