by jister · 15y ago · 0 comments
i thought this is supposed to be multi platform? i don't see C# (windows) or other languages there? kind of misleading to me, sorry.
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.
http://haxe.org/com/libs/swhx and http://hippohx.com/
Primarily I have used it as a custom wrapper around Flash applications being developed by my Flash team. By creating these custom wrappers I can give full access to the filesystem and databases without the Flash guys needing much knowledge of the surrounding development. This is a lot like Zinc is, however gives me a lot more control over what is happening and I can create additional dll's to hook in to to further extend what is going on behind the scenes.