Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Native add-on ABI #4

Open
voodooattack opened this issue Jun 28, 2016 · 6 comments
Open

Native add-on ABI #4

voodooattack opened this issue Jun 28, 2016 · 6 comments

Comments

@voodooattack
Copy link
Owner

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.

@screeny05
Copy link

How about N-API or something compatible to it?

@voodooattack
Copy link
Owner Author

N-API looks perfect. I think it can be adapted to Nexus with some modifications. Thanks for bringing it up!

@mean-ui-thread
Copy link

mean-ui-thread commented Mar 15, 2018

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

@mean-ui-thread
Copy link

found this https://github.com/charto/nbind

@mean-ui-thread
Copy link

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:
emscripten-core/emscripten#4770
However, due to large feature gap, they decided to not do it.

@mean-ui-thread
Copy link

also found an experimental n-api implementation for emscritpen
https://github.com/RReverser/emnapi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants