I was thinking of using Haxe for it\'s cross-language ability, but wasn\'t sure if it was the best for this task. I\'m going to write a generic library that should be able t
Haxe isn't designed for writing cross-language libraries, although it can be done and I've seen a few examples that it works:
However, for C++ specifically, since hxcpp generates a lot of Haxe specific stuff, including GC, it may need plenty of cleanup or it is non-trivial to use. You may ask in the Haxe mailing list.