Go2hx Work in Progress

Long overdue update below:

4 years of go2hx

A little backstory:

This project has been the essence of my dream for Haxe…

Haxe with a large and robust cross-target library ecosystem.

This idea has so captivating for me that I have been working on this project for years with very little reward because in my head it must be completed.

Especially now given my professional work is now stuck with using Golang on the back-end and JS/TS on the front-end, for me personally a world without a completed go2hx would be a tragedy.

Ecosystem size differences on github: 7.7k Haxe vs 309k Go

So what now?

Q1 2024 will be marked as the release of go2hx because it needs to happen, otherwise the project will die.

The release will be bumpy, and almost all 3rd party libraries and most stdlibs will still not work, but a release will give more life to the project and a timeline will help guide the way.

The life will come from interested devs using it, and also seeing the vision and what this project could mean for Haxe with more contributions.

Contribution

The compiler simply needs more devs improving it, the project is big with plenty of exciting parts, it needs specialized interest in specific problems or features. You there reading, could be the exact right person for one of them, for example!

  • You like passing small tests and making improvements to a compiler written in Haxe?
  • Interested in C libraries and want access to thousands of them with cgo?
  • Don’t like the Go dependency of go2hx and want to try out bootstrapping?
  • Target X (JS, JVM etc) is not supported and you want to use go2hx libs with it?
  • Pointers are all simulated, and you think it would be great to use the native pointer for X target?
  • Love Go routines and want to make them better in Haxe/go2hx?
  • Performance is bad for X case and you want to make it faster?

If one of these or something else interests you, reach out to me, here, on github or on the Haxe discord

Finally I’d like to say I am super grateful for the Haxe team for building such a wonderful and stable language, none of it would be possible without them and the continued support.

13 Likes