4 ms·
Multiplatform ------------- Haxe originally start out with support for Flash, JavaScript and Neko (a small VM available for both Lin/Win/Mac, see nekovm.org).
by nor 16y ago
Multiplatform
-------------
Haxe originally start out with support for Flash, JavaScript and Neko (a small VM available for both Lin/Win/Mac, see nekovm.org).
More recent and in-development targets are PHP and C++. I think there is Java and C# somewhere in the sheds, but nothing spectacular yet.
Haxe vs. C++
------------
Pros:
* relatively easy cross-platform communication via remote function calls ("remoting")
* powerful language with many practical constructs (a bit like C++ with boost included.. wait a bit.. :)
* Code sharing between platforms - write once, run on Flash/Servers(neko/php/cpp)/IPhone(cpp)/Browser(js)..
* Automatic type inference (don't write the types, but you still get strict checking)
* Hacker feeling :)
* Possibly many other
Cons:
* Hacker feeling (your manager possibly won't allow it as it is not "Enterprise")
* Generics ("type parameters") are far behind C++ templates.. yet
* Possibly many other
You won't write nuclear simulations in Haxe, but if you are into web/interactive apps, it is worth a peek.