When comparing Haxe vs Crystal, the Slant community recommends Crystal for most people. In the question“What are the most enjoyable programming languages for web development? ” Crystal is ranked 11th while Haxe is ranked 14th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Checks types at compile time
Pro Access native features of target platform
Whenever you need to use target specific code (e.g. there is no Haxe library or extern definitions), you can embed fragments as untyped code in your Haxe code.
Pro Transpiles to Javascript, PHP, Python and many other languages
Pro Dead code elimination
Removes unused types and methods during transpilation.
Pro Checks syntax at compile time
Pro Support multiple different platforms from one source
Pro Easy sharing of code accross multiple target platforms
Pro Provides an exit strategy for Flash developers through OpenFl
OpenFl is a library written in Haxe, that duplicates the Flash API, by providing a parallel implementation.
Haxe's syntax has a lot of similarities with Actionscript 3.
Flash developers can easily migrate their code to Haxe while still using and targeting Flash, in addition to unlocking all the new targets supported by Haxe / OpenFl.
Pro Elegant syntax as Ruby
Pro Fast performance
Pro Has co-routine
Pro Compiles to native binary
Cons
Con Aruguably no better than a meme language
The elitest attitudes in the community are unwarrented. Not recommendable for production use. Poor error messages, odd compiler errors, poorly documented behavior, etc..
Con Small community
In regards to its age and already past 1.0, the community is still too small.
Con Not cross-platform
No official Windows support.
Con A language only Ruby fans can love
Ruby-ish language.
Con Slow compilation
Con No parallelism (yet)
Not actual anymore.