Disclaimer: It’s my opinion about the results of the survey. It may be a wrong assumption, so be alert. If you want to participate in a discussion.
Who uses Haxe?
How is Haxe used?
Games are still important part of Haxe. Mostly desktop games follow by Web and Mobile games.
Many use Haxe for web development - back and front-end, but not so many use Haxe for export to PHP or python ( server-side scripting languages )
So for what reason devs used Haxe in web development? Maybe for backbone for other libraries such as node, React, Vue, Pixi, ASP, JSP and so on.
Is this make the Haxe more beautiful alternative of TypeScript and that should be one of the strongest market point of Haxe? Check here for TypeScript alternative where Haxe is already mentions: https://www.slant.co/options/378/alternatives/~typescript-alternatives
Haxe used as command-line utilities? Why not? Many use Haxe for that which make it a nice alternative of python and bash scripts.
I do not see many Haxe libs for command tools (an example is mlib and tink_cli ), and the most recent one is hxp ( https://github.com/openfl/hxp ) . So using Haxe for command-line utilities are mostly custom solution tools ( for test, compilation, deploy , etc. ) right?
After that is used in desktop and mobile applications and in sotfware Libraries.
Which 2d/3d framework is popular?
The most used 2d/3d framework is OpenFL, followed by Heaps and Kha.
Your favorite lib?
Most lovable is Tink ( 18%) , followed by OpenFL ( 14%) . Others are HaxeFlixel (8%), Buddy (6%), Heaps(6%), Nape, HaxeUI. So Tink is a thing.
Which target do you use?
For what is use neko? Is it part of fast compilation tests and deploys, console tools or used as a mod in the web servers?
WebAssembly , ES6 and Swift.
Well, ES6 maybe is coming https://github.com/HaxeFoundation/haxe/pull/7806
About WebAssembly I think it will come sooner or later using HashLink or Hxcpp compiled to pure WebAssembly
And there is some work in progress for Swift : https://github.com/rwthompsonii/haxe-add-swift-target ) . If you want to know more about “What is needed to develop a compilation target?” and want to help, check here http://old.haxe.org/doc/advanced/code_generators/needed
Where you publish your Haxe app?
Again, mostly on the web follow up by native ( mobile and desktop)
What OS do you use?
Primary desktop and mobile os is Windows and Android and preferred IDE Visual studio.
Macros are a strong part of Haxe using by 60% of developers.
One of these for me, too
The most wanted feature - concurrency support or way to write asynchronous code ( using await, async, yield, coroutines )
There some libs for that: https://github.com/haxetink/tink_await , https://github.com/nadako/haxe-coroutines
Do you want to be a core feature? Maybe you should make a proposal on haxe evolution - https://github.com/HaxeFoundation/haxe-evolution ?
Also, better IDE integration, better debug support and more documentation is one of the most eager features.
Conclusions, Haxe is:
Strong used in web development
Strong used for games
Strong used as a command utility tool
So what is Haxe?
It’s a language used to write games, web development and command-line utility tools. It is used as transpiler to JS by developers who looking to publish on the web and to C++ for mobile and desktop. It’s not for beginners, but anyone can find something cool and interesting for himself
One last question which bugs me. TypeScript is more popular than Haxe. According to latest PYPL is on position 11( https://pypl.github.io/PYPL.html )
What makes TypeScript better than Haxe ?
- Nothing. Haxe is better.
- The big company behind it
- Better JS integration and more feature-rich API
- Better tooling ( IDE , debug support ), big community and documentation
Full results of survey here : https://docs.google.com/forms/d/15QOI3ADKwfaro0yeNXzJyeHA5TH_VaFop2i8Gr9oRy0/viewanalytics