Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor out N-API to expand embeddability use cases #354

Closed
digitalinfinity opened this issue Oct 19, 2018 · 3 comments
Closed

Factor out N-API to expand embeddability use cases #354

digitalinfinity opened this issue Oct 19, 2018 · 3 comments

Comments

@digitalinfinity
Copy link
Contributor

As @bghgary mentioned on the N-API WG meeting on 10/18, there is a use case where developers who are embedding JS engines directly (and not embedding Node) can need a VM-neutral interface to talk to these engines in an ABI-stable manner. Given that N-API already has this, @bghgary suggested factoring out the ES-specific parts of N-API into its own header. Opening this issue to continue that discussion.

@bghgary's prototype is here: https://github.com/bghgary/node-addon-api/tree/ES-only

@mhdawson
Copy link
Member

I think its a great suggestion. Making it easier for other projects/teams to consume N-API should help overall adoption. In addition it will increase the chances of these projects contributing back enhancements.

@bghgary
Copy link

bghgary commented Oct 21, 2018

See nodejs/node#23786

@gabrielschulhof
Copy link
Collaborator

Landed in nodejs/node@596bd5f.

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

No branches or pull requests

4 participants