Hacker News new | ask | show | jobs
by qsort 1165 days ago
Does 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.
7 comments

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.
Are any of your tools open source/something we can look at? Just curious about examples…
Internal frameworks seem to be a popular scenario for Haxe. Something where you are the vendor for the platform abstraction, not the consumer. Or you have a codebase that needs some incremental migration between targets.

This is stuff that is incredibly hard to justify as a hobby project but definitely in the realm of what Haxe does well.

A statically typed javascript with pattern matching can be nice.
Maybe some library for codebases in multiple languages at a company? I wonder what the performance story is...
I’d say it’s pretty good for touch screen kiosks, digital signage, and certain interactive creative works.
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.
That sounds a lot like Nim. I haven’t used it myself, but I’m intrigued at the idea of having one language I can use in a lot of places.
https://github.com/c-blake/cron might interest you. This uses "job" from GP in the sense of "cron jobs", although GP meant something much more broad by "jobs in C". ;-)

The key idea is portable to any prog.lang. you might like, although many will not be as run-time efficient as Nim, C, etc. and many may not be as safe as Nim.

It was used for Smart TVs quite a bit.