Hacker News new | ask | show | jobs
by tkp 1829 days ago
Indeed, Electron is very useful for any compile-to-js language, and benefit from js popularity, toolkits and frameworks for rich UI.

Writing in Haxe brings nice syntax, and some flexibility regarding target language/platform, and possible UI frameworks.

- ArmoryPaint[1] and most Haxe games don't rely on Electron for UI.

- HaxeUI[2] provide a nice list of components, rendered as composite or native on various backends[3] (html5, wxWidgets, experimental pdcurse..^^)

- MVCoconut[4] also allow to bind to various front-ends : Dom, React, React-native

There is always a degree of lock-in depending on the path you choose, but having a cross platform base for logic and glue is a nice feature.

[1] https://armorpaint.org/

[2] http://www.haxeui.org/

[3] https://github.com/haxeui/haxeui-core#backends

[4] https://github.com/MVCoconut/