Is haxe alive or dead?

Hello, guys!
I would like to set the record straight about haxe development state.
This post is not about blaming someone or pressure on.
It’s more about getting a sense of the current situation.
I am developing declarative multiplatform(js, objC++, jvm) ui lib with haxe and I want to find out should I invest further my time in haxe language or switch to another instruments.
I’ve had some concerns as I am seeing rare commits in haxe github repo. And I’ve noticed some of active haxe users like @back2dos or @fponticelli moved to typescript(could be wrong, sorry, if they didn’t).

So my questions:

  1. Is HaxeFoundation planning to develop and support haxe in the near future? if yes, where can I find a roadmap and its implementation period?

  2. Does HaxeFoundation have enough resources for active development now?

  3. Who is working on the compiler on regular basis now?

I would appreciate for any haxe user answers or opinions on this topic. And I am particularly interested in hearing the views of @Simn , @kLabz, @ncannasse, @back2dos, @fponticelli

Thanks in advance!

3 Likes

Haxe is doing fine. There’s indeed not much going on with the Haxe Foundation itself, but that’s also not necessary because Shiro Games is in a good position to support Haxe for years to come. That’s also why so much of the focus has been on boring stability stuff, though I expect some of the technical curiosity to be reignited once we get coroutines working properly.

4 Likes

I guess Simn has said everything that should be relevant to you.

As for some community members disappearing, I cannot speak for Franco. I have not definitely moved to TypeScript, but I am currently using it and have also started creating TS libraries (so far only one), because it turns out that most of the npm packages are really quite low quality :person_shrugging:

My focus is on web development and I’ve been fighting the uphill battle of using Haxe for that for some 15 years now. After all that time, I would always recommend Haxe over any other compile-to-js language if you care about performance, robustness and long term maintainability. No alternatives come even close and even if Haxe’s development stopped immediately and permanently, I don’t see the other languages catching up any time soon.

That said, early this year I started a new project and Haxe was not an option, for reasons. So I gave in to trying TypeScript. I am quite deeply disappointed, for a whole number of reasons, but bashing TypeScript here is besides the point.

My story of being forced away from Haxe will be extremely familiar to anyone who’s ever used Haxe for web development. And so what you do see is a relative decline in buzz around Haxe, which has had its moments of fame when FlashPlayer died, because many people jumped over to Haxe (and OpenFl). The game developers largely stayed, the rest essentially moved on, not necessarily of their own will. That’s why you’ll find a whole chunk of the community gone. Even Shiro doesn’t use Haxe for its website, when MotionTwin still did.

Still, it’s a bit sad to see Haxe retreating into a niche. I think it’s a wasted opportunity.

I guess the question would be what other instruments you’d consider and before that actually, what your ultimate goal is. There’s already quite a bit of stuff out there, so I’ll have to assume what you really want is the joy of building it yourself? In that case I would definitely recommend Haxe :wink:


If you’ll forgive me for going off a tangent: I’ve always thought that it would be great to have two separate toolchains for creating native mobile apps with Haxe, with externs to all the native APIs - added bonus for integrating cppia/hscript (or something) for hot reloading in dev, quite likely achieving better iteration speed than the native toolchains.

From there, it’s comparatively straight forward to define some abstraction that allows writing code against both, for people who want that. And even then, I wouldn’t bring in declarativeness at that level.

I would say that most of the cross platform native solutions (React Native, NativeScript, Slint, HaxeUI) share two common issues:

  1. they abstract away too much
  2. they are too opinionated (they often bring their own way of describing UI layout and style and often their own framework too)

There is of course something to be said for tight integration, but in my experience, if any part of such a big solution is a problem, than the solution as a whole becomes that problem.

In an attempt to try to avoid that, let’s imagine there are hx-android and hx-ios toolchains. Then HaxeUI could for example depend on those directly to finally get its iOS target (and perhaps even rebuild its Android target to use hx-android). Coconut could also get a backend for each (so one would use native ui components with their full APIs such as they are, but drive them through coconut). You (or whoever) could proceed to build a hx-xui that abstracts over hx-android and hx-ios and comes with a web implementation of those abstractions. And then, again separately, on top of that build out your vision of what a declarative UI lib would look like.

Anyway, those were just some random thoughts on the side. In any case, good luck with your endeavors :wink:

Best,
Juraj

6 Likes

Simon, thanks for your feedback!

1 Like

Juraj, thank you for reply. I read your message with great interest. Many things have becоme clear to me.

what your ultimate goal is.

Ironically, I think haxe is most suitable not even for games development(GC is a bottleneck for modern performant games, though it’s another topic) but for creating multi target user interfaces. Declarative way is suitable modern approach for building ui(react.js, vue.js, swiftUI, Jetpack Compose etc)
I agree with you we should have proper native toolchains and API externs to implement it or modify existing libs.

2 Likes

I’m jumping into Haxe with both feet. I love the language, libraries and community, so to me it’s not dead.

1 Like

“should I invest further my time in haxe language or switch to another instruments.”

Are you sure you are going to make money investing your time in one or the other ? If the answer is “yes” then go for it, invest your time where the money is then, it’s worth it I guess. If the answer is “no” then don’t expect one or the other to be nothing more than a hobby. Nothing wrong with a hobby, it’s just probably not worth spending too much on it that’s all.

2 Likes