Downloading Haxe 4.2.1

If your download does not begin automatically please click here.

Support the Haxe Foundation

Thank you for downloading Haxe. If you'd like to support the Haxe Foundation please consider donating to keep our open source efforts thriving.

Monthly Donation Amount

Get Technical Help

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 plans

What next?

Release Notes

Dear Community,

On behalf of the Haxe Foundation, we are proud to announce the official release of Haxe 4.2.1!

This is a bugfix release. Check out the changelog below for more information.

If you have any suggestions or run into any problems, feel free to open an issue on GitHub.

Thanks to everyone involved!

Change Log

2021-02-26 4.2.1:

General improvements:

  • threads : changed main thread initialization to make main event loop available during static initialization (#10114)
  • php : added extern for number_format function (#10115)
  • python : rewrote sys.thread.Thread, Mutex and Lock as classes instead of abstracts.


  • all : fixed compiler compatibility with OS X 10.13 (#10110)
  • all : fixed compiler hanging on switch for abstracts with implicit casts involving type parameters and constraints (#10082)
  • all : fixed inlining of haxe.DynamicAccess.keyValueIterator (#10118)
  • all : fixed rest arguments typing against type parameters (#10124)
  • analyzer : fixed side effect handling for enums (#10032)
  • cpp : fixed handling of cpp.ConstCharStar with analyzer enabled (#9733)
  • php : fixed failure with trailing slash in output dir (#6212)
  • hl : fixed call stack of rethrown exceptions (#10109)

Getting Started With Haxe

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: