Haxe Code Cookbook

Community driven Haxe code snippets, examples and tutorials.



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

Jul 01, 2019 Macros / Threading macro like Clojure and pipe operator

Introduction‥

Read »

Jun 20, 2019 Other / Prototype SSL Socket Server

This write-up was inspired by this stack overflow question. While I've worked with sockets before, I wanted to prototype a Haxe HXCPP socket server leveraging secure SSL connections.‥

Read »

Jun 17, 2019 Beginner / Haxe to Emscripten

This is a hello world example which will be compiled and linked to Emscripten.‥

Read »

Nov 26, 2018 Other / Zip files

The haxe.zip package allows to zip and unzip files and directories using Haxe. This example shows how to use it.‥

Read »

The cross-platform development toolkit

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

Download Haxe 3.4.7
Released: 2018-02-22

Learning by example

The Haxe Foundation facilitates the following code cookbook for the Haxe commmunity. Enjoy learning Haxe; It is great!

More documentation:

Haxe Manual

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Contribution is easy

The project is being developed on GitHub. Feel free to contribute code snippets, tutorials and how-to guides.

Haxe Code Cookbook on Github

Star   Fork