Haxe - The Cross-Platform Toolkit (by HaxeFoundation)

Haxe Alternatives

Similar projects and alternatives to haxe

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better haxe alternative or higher similarity.

haxe reviews and mentions

Posts with mentions or reviews of haxe. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-30.
  • Is adobe actionscript still used?
    3 projects | reddit.com/r/gamedev | 30 Nov 2022
    A chunk of the Flash game developer community went to HaXe (https://haxe.org/), so you might like using HaXe.
  • 10 años de Nación Motorizada
    2 projects | reddit.com/r/vzla | 22 Nov 2022
  • Lang Lua
    8 projects | news.ycombinator.com | 12 Nov 2022
    Haxe is great for when you want to write an entire application in Haxe, then transpile to multiple targets, and then care about the target platform only to the extent that you want your application to just work.

    The various haxe game engines are a good example of this kind of use case, where they transpile your haxe code to C++ or JavaScript and then your transpiled code combines with JavaScript code that the game engine provides or with C++ code that the game engine provides and the result is that everything "just works", both natively and in the browser.

    I also have high hopes for this approach in relation to GUI programming (HaxeUI, FeathersUI, etc. are very interesting).

    But my usecase was different: I wanted to make an API for my business logic that would transpile to Python, JavaScript and Java, and give a developer on each target platform a native look and feel, as if they were interacting with a native Python API or Java API, etc.

    Basically, when you do that, you'll discover that Haxe is too much of a leaky abstraction.

    For example when your API requires passing an iterator over Strings or returns an iterator over Strings, you'll discover that this doesn't automagically turn into java.util.Iterator when you transpile to Java. Rather Haxe has its own implementation (haxe.Iterator) that transpiles to some weird Java object that a Java developer will have a difficult time interacting with. ...this is true not just for iterators but for a lot of very basic things like collections, exceptions, etc.

    Haxe does expose target-specific things on the Haxe-side, so you can write Haxe code that will accept java.util.Iterator or return java.util.Iterator, but, obviously, java.util.Iterator will not be available when you try to transpile to something other than Java. So whenever you want to just use an iterator, your code is going to be full of "if this platform then behave like x, if that platform then behave like y, ..."

    Outside of development around the main Haxe-based game engines, you'll also find that the community is just too thin to properly maintain standard libraries. For example, several libraries that implement very basic things haven't been touched in years and I discovered that the HashMap implementation in the Haxe standard library is just broken and no one seems to care or notice. It just doesn't handle collisions [1]. ...the only way I can explain that to myself is by assuming that nobody on Haxe really uses HashMaps because the game engines provide something else that displaces that functionality or that games are just the kinds of applications where the errors that result from hash collisions aren't noticeable.

    It's a pity, because the Haxe language is great, and the ideas behind the architecture are great, but the current implementation just hasn't yet made enough progress on the journey it embarked upon.

    [1] https://github.com/HaxeFoundation/haxe/blob/development/std/...

  • Deobfuscating SWF files for fun and for nostalgia
    5 projects | dev.to | 17 Aug 2022
    On the other end of the spectrum, there is also Haxe which instead provides a language and syntax similar to ActionScript (which is used in Flash files) that can target a multitude of platforms with one codebase. Haxe also has tools to help convert ActionScript codebases to Haxe which has been met with moderate success.
  • Uno platform: build single-codebase applications across all platforms
    7 projects | news.ycombinator.com | 16 Aug 2022
  • Suggest an interesting language for me to try out, that I can use for 2D Games. Something that I might not have considered, or is not particularly well known.
    7 projects | reddit.com/r/ProgrammingLanguages | 11 Aug 2022
    Have you looked at FreePascal, Nim or Haxe?
  • Meta makes Rust endorsed server-side language
    3 projects | reddit.com/r/rust | 28 Jul 2022
    They actually create/use Hack. Haxe is something else.
  • What programming language / engine is dicey dungeons made in?
    2 projects | reddit.com/r/DiceyDungeons | 11 Jul 2022
    Dicey Dungeons is created with Haxe, using my own framework, which is an extension on top of OpenFL and HaxeStarling
  • Ask HN: Vlang vs. Zig vs. Dlang vs. Assemblyscript vs. Haxe vs. EC
    2 projects | news.ycombinator.com | 3 Jul 2022
  • I created my own programming language that compiles into Lua code but uses a more C/Rust like syntax
    8 projects | reddit.com/r/programming | 7 Jun 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 Dec 2022
    InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code. Learn more →


Basic haxe repo stats
7 days ago
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.