Haxe is a powerful modern language with many compelling features. It is aimed at giving developers a tool to create websites & applications using a single unified programming language. Whether you use Haxe for its cross-platform features, or focus on a single platform, there are many reasons to adopt it:
- ECMA style programming for client-side, server-side & desktop The Haxe syntax should be very familiar to those familiar with ActionScript and JavaScript. As it offers multiple targets (virtual machines and outputs) it can be used for a huge variety of applications.
- Extremely fast compiling The compiler is lightning fast. When compared to the Flash or Flex compilers, you will find a noticeable speed increase. Since compile time is so short Haxe is an easy transition from non-compiled languages such as PHP and JavaScript.
- The benefits of type checking Haxe offers very tight type checking. Having compile-time checks in place allows you to catch errors in your code BEFORE testing it in the browser. This allows for a faster workflow for dynamically typed targets such as PHP and JavaScript.
- Haxe adds missing language features to target platforms Haxe has been created out of a desire for better features and tools for web-oriented development. It adds missing features to many of the targets - e.g. - inlining & generics to Flash development - packages & typing to JavaScript & PHP - dynamic objects & Runtime Type Information (enabling Reflection) to C++ - macros and much more. Adding features to targets where they are lacking enables a Haxe developer to have the same rich set of features available for use on ALL platforms that they want to target.
- Open Source In addition to being free, Haxe is open source and provides installers for OSX, Windows, and Unix based operating systems. There are no base library requirements for the compiler, and a good deal of functionality is already provided with the Haxe libraries.