Back Haxe is good for you 7 | ♥ 1

Haxe, the open source language I used every day for about 4-5 years is now managed by the good folks at the Haxe Foundation. And this is an incredibly good thing. This foundation will fully support the development of this great language and offer highly reliable support for companies who need it.

If you don’t know it yet, Haxe is quite like the Ring: one language to rule them all.

  • This single language can target a vast number of platforms : Flash, JS, HTML5, Neko, C++…
  • The syntax is easy to learn yet incredibly flexible (with the mystical ancient powers of macros),
  • It heavily uses Type Inference, which is a complicated word to say the language is intelligent and can guess the types of variables you use, even if you don’t specify it (ex. var a=5, ok that’s an integer, so if you try a=”test” few lines later, the compiler will pop an error ; yes I’m looking at you javascript..)
  • With NME (broken link, project no longer exists), the language can now target easily mobile devices with great results and performances.

All the games I make are written in Haxe and I use it daily on much larger projects.

Try it :)

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Freal:

    Bonjour ! J'aimerais essayer de créer des petits jeux avec Haxe mais FlashDevelop propose plusieurs types de projets dans la catégorie "Haxe". Vaut-il mieux choisir Flash, Neko, OpenFl ou HaxeFlixel ?

    June 13, 2015 at 18:37
  2. Adriano Lima:

    Hi Sébastien, I discovered the Haxe few days ago trough of your games and decided to know better, who knows, make cool games like yours.
    One thing was not clear to me, if I make a code importing flash libs, I can only compile for Flash, how to reuse the same code to compile for other platforms? What are the advantages of using the hash instead of using the AIR Flash?

    September 18, 2014 at 01:01
  3. ShifumiX:


    Juste une petite question à propos d’Haxe, “compiler” avec Haxe permet “simplement” de générer un fichier dans le langage cible ? Il faut ensuite compiler le/les fichiers obtenus ( si c’est un langage compilé ) pour obtenir le résultat ?

    Merci de cette petite réponse ;)

    Bon courage!

    January 9, 2013 at 23:08
    • Sébastien Bénard:


      Non, Haxe génère bien directement le “binaire” du langage cible (un SWF par exemple pour du flash).

      January 24, 2013 at 14:51
  4. DirtyHarry:

    Thanks for replying! Meanwhile, I will keep “playing” with Haxe whenever I can – the platform deserves the time.

    January 8, 2013 at 23:14
  5. DirtyHarry:

    First, I am a fan of your games – and timelapse videos.

    I have tried to “play” with Haxe a little bit but while it seems really awesome (as your ability to make games so fast shows) it seems to be a bit unstable in some regards – documentation is sparse, existing editors in Mac are a bit fussy to work with, and cross-platform support (NME) is a bit of a confusing topic.

    I think if the Haxe foundation invested in publishing some learning tools/books to streamline a bit the process, Haxe would become more accessible also to people that cannot afford the time to learn by trial and error. I think so many people would be interested that even a crowdfunding option would make a lot of sense.

    That is also why tools like HaxeFlixel will help the popularity of the platform a lot – the kind of tutorials they have is exactly the kind of tutorial people need to get started on a platform.

    January 8, 2013 at 03:46
    • Sébastien Bénard:

      You are absolutely right :)

      The lack of proper documentation and tutorials is what Haxe needs right now to go further. I also hope that the foundation will help in that way.

      January 8, 2013 at 09:17