Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
clemos
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
clemos
12y ago
see http://waneck.github.io/wwx-unity3d-haxe/
2.
▲
by
clemos
12y ago
You can do Unity with Haxe, but not the other way around, so clearly Haxe > Unity :p
3.
▲
by
clemos
12y ago
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)
4.
▲
by
clemos
14y ago
So ?
5.
▲
by
clemos
14y ago
I put a lighter theme, and increased line spacing a bit
6.
▲
by
clemos
14y ago
Also, IMHO the fact that Haxe looks familiar to people coming from Javascript, ActionScript, or Java is a plus.
7.
▲
by
clemos
14y ago
Well at least it doesn't look like PHP...
8.
▲
by
clemos
14y ago
Actually functions are private by default. "static function main()" seems to work as an entrance point, though, which makes sense somehow...
9.
▲
by
clemos
14y ago
It could be fun to have a CoffeeScript to Haxe converter, though.
10.
▲
by
clemos
14y ago
Not usually, but I wanted the app to look a bit less "hardcore techie" than the rest of the Haxe evangelism material :)
11.
▲
by
clemos
14y ago
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 Appceler
12.
▲
by
clemos
14y ago
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://w
13.
▲
by
clemos
14y ago
NME is a library for Haxe. It basically provides an implementation of the Flash API for the C++ and Javascript targets, besides the SWF target that Haxe offers natively. It also comes along with tools that allow this generated C++ code to b
14.
▲
by
clemos
14y ago
http://try.haxe.org/#655c1 You can compile this example to both Flash and JS online. If you install Haxe and NME ( http://haxenme.org ), you can also compile it to iOS, Android, WebOS, BlackBerry, as well as desktop Mac, Windows and Linux
15.
▲
by
clemos
14y ago
Ok, ok, I switched back to monospace...
16.
▲
by
clemos
14y ago
It has very powerful type-inference, which usually makes it far more concise and expressive than Java or AS3... It may still be a bit more verbose than Coffeescript or Python, but once your code is written you can theorically run it almost
17.
▲
by
clemos
14y ago
http://haxe.org/ref/conditionals Most standard classes and methods (String, Array, Hash, etc), and a lot of third party libraries are completely cross-platform, so you don't need conditional compilation. Usually you use conditional compil
18.
▲
by
clemos
14y ago
... and the editor has autocompletion on dot :)
19.
▲
by
clemos
14y ago
demos : Flash API to SWF or JS (nme/jeash): http://try.haxe.org/#655c1 http://try.haxe.org/#E4001 Flash with custom shaders (hxsl): http://try.haxe.org/#93bE1 Flash + away3d: http://try.haxe.org/#9F075
20.
▲
Try Haxe
(try.haxe.org)
180 points
by
clemos
14y ago
|
87 comments