Learn with Haxe - Community driven Haxe code snippets, examples and tutorials. - Haxe programming language cookbook

Community driven Haxe code snippets, examples and tutorials.


Start browsing..



Learn with Haxe

There are many ways to learn Haxe. On this website you'll find a lot of resources you need to become a Haxe developer.

So why not start learning and join the community today? If you haven’t learned Haxe yet, the time is now.


Latest articles

Jan 23, 2024 Other / Hxcpp Pointers

This page covers the differences and use cases of the three main pointer types:‥

Read »


Apr 27, 2021 Macros / Strictly Typed JSON

It's possible read JSON files at compile time into strictly typed objects in Haxe.‥

Read »


Mar 03, 2021 Abstract types / Pipe using Abstract Operator Overloading

The following example demonstrates how the pipe operator is used to clean up nested function calls with Abstract Operator Overloading.‥

Read »


Jun 24, 2020 Beginner / Declare classes using @:structInit

As an alternative to the traditional way of instantiating classes using the new keyword - which is how it's done in most object oriented languages such as Java or C# - you can use the @:structInit metadata when you declare the class.‥

Read »


The cross-platform development toolkit

Haxe is a modern high-level strictly-typed programming language with a fast optimizing cross-compiler.

Download Haxe 4.3.7
Released: 2025-05-09