I remember tinkering with Haxe maybe around ~2010. I was surprised to see it's still around and getting regular updates.
I was (and still am, in some ways) against the idea of learning one language and trying to use it everywhere. But nowadays, there are so many transpilation and adapter systems going on that... everything is a bit fuzzy.
That made me remember Haxe. Their goal all along was to have one unified language to deploy anywhere.
Does anyone here use Haxe regularly? In production? I'd love to hear about your experiences and what you've used it in-place of.
> When I finally committed to this port my first decision was to rewrite the game in C#/Unity. After Obra Dinn I’m a solid fan of Unity – the editor, the entity/component design, the build system, the ubiquity, just about everything.
> I made it a few days into rewriting before finding that although I like C#, I like Haxe more. [...] Still it’s hard to overstate how appropriate Unity is for someone in my position: a solo developer targeting multiple platforms and desperate for a popular, proven, and well-supported engine and build system.
> Fortunately, Haxe is a transpiled language, meaning that you write in one language (Haxe) and it gets converted to another language (Javascript, PHP, Python, C++, C#, Lua, etc) before being compiled/interpreted for whatever target you’ve got. So it’s possible to write code in Haxe and have it transpiled to C# that can be loaded and compiled in Unity. Which is how I decided to roll this.
From "Cramming 'Papers, Please' Onto Phones" (last year).
Original post: <https://dukope.com/devlogs/papers-please/mobile/>
HN comments: <https://news.ycombinator.com/item?id=32371423>