Native add-on ABI
A native-addon ABI and a build system for the package manager should be proposed.
Please use this issue to discuss this aspect of the project.
How about N-API or something compatible to it?
N-API looks perfect. I think it can be adapted to Nexus with some modifications. Thanks for bringing it up!
Facebook's react-native also uses JSCore, and implemented some jschelpers here https://github.com/facebook/react-native/tree/master/ReactCommon/jschelpers which heavily depends on their https://github.com/facebook/folly library. I'm not saying that it is a good option, but maybe they have something in there that might give you some good ideas
found this https://github.com/charto/nbind
this is for emscripten-only, but the api/concept might be worth studying: http://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/embind.html
The emscripten team were toying with the idea of deprecating embind in favor of using nbind: https://github.com/kripken/emscripten/issues/4770 However, due to large feature gap, they decided to not do it.
also found an experimental n-api implementation for emscritpen https://github.com/RReverser/emnapi