Hacker News new | ask | show | jobs
by jdonaldson 1 day ago
I'd love to see a comparison to Haxe. https://haxe.org/

I wonder what performance and generated code size/quality look like.

3 comments

From https://github.com/fusionlanguage/fut/discussions/119#discus...

> I've read about Haxe in 2000s, before I started my work on Fusion. They have different design goals: in Haxe you create whole apps, in Fusion you create components to be used from other languages. Haxe has syntax similar to the (now dead) ActionScript, Fusion is similar to C#. Fusion transpiles to C, D, Swift, TypeScript, OpenCL and Haxe does not.

But what is the goal of Fusion then in pragmatic words? E.g. Haxe helps to save on development costs when targeting multiple platforms with emphasis on graphical interactive apps (games mostly).
At a time I was very interested in haxe, but their focus on games made it (perceived as) lacking in the area I wanted to use it (cross platform client-server apps). Recently rust seems to have taken this role for me.
Apparently Haxe cannot target OpenCL. It can target PHP and Lua instead.