If your download does not begin automatically please click here.
Thank you for downloading Haxe. If you'd like to support the Haxe Foundation please consider donating to keep our open source efforts thriving.
Get support directly from the Haxe team. The Haxe Foundation offers several support tiers to help with your organization's technical challenges.
Explore our support plansDear Community,
On behalf of the Haxe Foundation, we are proud to announce the official release of the Haxe 4.0.0-preview.5! It is available along with the changelog at https://haxe.org/download.
As a preview release, it should not be considered stable. However, we appreciate anyone testing this version which will help us with the real Haxe 4 release. Please report any issues here:
https://github.com/HaxeFoundation/haxe/issues
Thank you very much for your help!
New features:
for (key => value in e) syntax for key-value iteratorsfor (i in 0...5) (#7365)@:op(a.b)inline call() and inline new expressions (#7425)@:using on type declarations (#7462)General improvements and optimizations:
operator and overload as keywords (#7413)final on structure fields invariant (#7039)[] where Map is expected (#7426)Map.copy() and Array.copy()Map and native arrays.php.Syntax.yield() and php.GeneratorRemovals:
implements Dynamic on non-extern classes (#6191)-D use-rtti-doc, always store documentation instead (#7493)Bugfixes:
function () { }(e) is no longer parsed as a call (#5854)return null from Void-functions (#7198)$ in field names of anonymous objects (#7230)switch as if...else if...else... to avoid loose comparison (#7257)Standard Library:
Now that you've downloaded Haxe, you can get started with a specific platform. Click on a logo to learn how to set up the development environment and how to proceed from there:
For getting started with Haxe, take a look at our introduction, read through the Haxe Manual or look at these use cases for Haxe, including tutorials and popular libraries:
API Documentation: Read the API documentation for this version.