Has anyone tried the moon ai port for haxe? Is it a decent library and efficient on par with python?
Haxe has first class support for AI: https://haxe.org/manual/expression-if.html
I’m sure moon.ai is a decent piece of work, but like the library it was ported from, it all runs in software. Plus the author’s github commit history would seem to indicate that he’s unfortunately stopped maintaining open source projects years ago.
So yeah, best to use some established python/js lib. Once you have it tuned to produce meaningful results in your problem domain, and you can effectively measure the python/js runtime overhead for your use case and determine that it’s significant, you can still switch to hxcpp and invoke the computational code directly.