Follow me

Dec 28, 2012

Haxe is good for you

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, 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 :)

5 comments:

  1. 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.

    ReplyDelete
    Replies
    1. 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.

      Delete
  2. Thanks for replying! Meanwhile, I will keep "playing" with Haxe whenever I can - the platform deserves the time.

    ReplyDelete
  3. Bonjour,

    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!

    ReplyDelete
    Replies
    1. Bonjour,

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

      Delete