When comparing Haxe vs Blazor, the Slant community recommends Haxe for most people. In the question“What are the most enjoyable programming languages for web development? ” Haxe is ranked 14th while Blazor is ranked 15th.
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 Use existing .NET libraries
Allows to use .NET Standard libraries.
Pro JavaScript interop
Call JavaScript APIs and libraries.