Earlier quoted context omitted.
Paper Please too.
To add to this, the creator also used Haxe to port to Unity: https://dukope.com/devlogs/papers-please/mobile/
Haxe 4.3
41–50 of 51 posts
Re: Haxe 4.3
#42Does anyone have a good non-gaming use case for Haxe? It feels very nice to have multiple compilation targets and the language is great, but I never found an excuse to use it.
This is stuff that is incredibly hard to justify as a hobby project but definitely in the realm of what Haxe does well.
Re: Haxe 4.3
#43Re: Haxe 4.3
#44Earlier quoted context omitted.
Being able to cross-transpile (cross-compilation basically) to other languages is a huge selling point. You can, in one language, output libraries that are compatible with: JavaScript, Flash, Neko, PHP, C++, Cppia, Java, JVM, C#, Python, Lua, HashLink For example, wanna deploy a validation library that checks something and have it available in a ton of language directly? Using Haxe, you can get this very cheap.
In practice, this is hard. The problem is that you need to either have all the functionality you use written in Haxe - which is rarely if ever possible - or you have externs to equivalent libraries on all platforms . The libraries produced will also need to be interfaced from outside somehow, and for some of the targets you'll have to write additional wrappers for your lib. It's really hard to pull off when targeting…
A lot of what I encountered from my time using it(which I might return to someday) was that it became more irritating as you introduced more platform dependencies, but mostly because it became harder to build the project. And this was disproportionately true for targets with complex build processes(SWF was one of them back in the day, and C++ still is).
Some of it does get mitigated by doing a double layer of abstraction: your platform code has a shell of functionality that is handled using the native paradigms, but exposes an interface that Haxe code calls. And the Haxe code accesses your own abstractions, not the native ones.
But doing all of that can get away from "just getting a result", because then you're pushing more of the development onto the native target. If you don't have a clear view of what abstraction you want, you can get stuck on designing it.
Re: Haxe 4.3
#45Does anyone have a good non-gaming use case for Haxe? It feels very nice to have multiple compilation targets and the language is great, but I never found an excuse to use it.
same here, it's a forever top of mind but never to be practically used. The thought of having one language but can dish out frontend in JS, backend in python, jobs in C has been a dream of mine.
Re: Haxe 4.3
#46Does anyone have a good non-gaming use case for Haxe? It feels very nice to have multiple compilation targets and the language is great, but I never found an excuse to use it.
The creator of http://haxeui.org/ makes a lot of (closed) projects for the health sector. I personally like to use to make some wxwidgets utilities apps with it. (And being able the html5 js target and android/ios (with openfl) target.
Re: Haxe 4.3
#47Even if Haxe was effectively feature complete, I would expect maintenance for bug fixes and keeping up to date with evolving platforms and backends, especially because Haxe supports so many targets.
Re: Haxe 4.3
#48Haxe development doesn’t seem very active: the last minor release, 4.2.5, was 13 months ago. The last major release, 4.2.0, was two years ago. Even if Haxe was effectively feature complete, I would expect maintenance for bug fixes and keeping up to date with evolving platforms and backends, especially because Haxe supports so many targets. https://haxe.org/download/list/
The nightly builds should probably be promoted to patch releases more often though.
Re: Haxe 4.3
#49Haxe development doesn’t seem very active: the last minor release, 4.2.5, was 13 months ago. The last major release, 4.2.0, was two years ago. Even if Haxe was effectively feature complete, I would expect maintenance for bug fixes and keeping up to date with evolving platforms and backends, especially because Haxe supports so many targets. https://haxe.org/download/list/
Haxe’s development is fairly active. You can see 41 PRs were merged, an additional 13 more were opened and 125 issues were closed in the last month: https://github.com/HaxeFoundation/haxe/pulse/monthly The nightly builds should probably be promoted to patch releases more often though.
Re: Haxe 4.3
#50For those unfamiliar with Haxe, imagine Actionscript, but without tying it to Flash Player.
I guess to describe haxe to someone, i'd say it's closer to typescript, but compiles down to many different languages.