4 ms·
interesting but i am not impressed. why can't i just write c++ and compile it? why would i need haxe for? a "standard" language doesn't need to be compiled into
by jister 16y ago
interesting but i am not impressed. why can't i just write c++ and compile it? why would i need haxe for? a "standard" language doesn't need to be compiled into other non-standard languages.
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.
- timtadh 16y agoIf I am not mistaken, this language's main target is the web. As such it targets both server side programming and client side. It will run on multiple stacks on both sides. Desktop application programming doesn't appear to be the target of this language, ie. the lack of C# or Java.
- jdonaldson 16y agoa C# target is scheduled for this January, while Java should follow soon after. http://twitter.com/cwaneck/status/15486381623091200 http://twitter.com/cwaneck/status/15486381623091200
- elliottcarlson 16y agoYes and no... you can do desktop development for it as well (that has been my main use for it) - for more information check out: http://haxe.org/com/libs/swhx http://haxe.org/com/libs/swhx and http://hippohx.com/ 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.
- nor 16y agoMultiplatform ------------- 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.
- regularfry 16y agoMulti-platform, not pan-platform.