Neon: What is the plan for N-API compatibility?

Created on 22 Jul 2018  Â·  5Comments  Â·  Source: neon-bindings/neon

or Roadmap?

Most helpful comment

Thanks for the bump! N-API is part of the roadmap and could probably use an RFC outlining the plan. Here is my understanding of what's currently happening:

  1. 0.2 removes features that don't have N-API counterparts.
  2. Roadmap item to convert existing features to N-API
  3. Distribution of pre-built modules relies on N-API

All 5 comments

Here is a minimal N-API library https://github.com/brooooooklyn/napi-rs which is still in developing.

202 has a similar question, and N-API is now on stable Node 10, and soon 8 (without the need of a flag), all well described in a recent blog post:

https://medium.com/the-node-js-collection/n-api-next-generation-apis-for-node-js-native-addons-available-across-all-lts-release-lines-4f35b781f00e

Since this project has already a community of Rust + Node users, can't N-API be supported using the official https://github.com/nodejs/node-addon-api to generate the bindings and simplify the all process ?

Thanks for the bump! N-API is part of the roadmap and could probably use an RFC outlining the plan. Here is my understanding of what's currently happening:

  1. 0.2 removes features that don't have N-API counterparts.
  2. Roadmap item to convert existing features to N-API
  3. Distribution of pre-built modules relies on N-API

@kjvalencik

Thanks,I see. wait in hope.

I have created an issue in neon-bindings/rfcs#27.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chpio picture chpio  Â·  6Comments

rm-rf-etc picture rm-rf-etc  Â·  3Comments

phrohdoh picture phrohdoh  Â·  6Comments

manuel2258 picture manuel2258  Â·  5Comments

vasishath picture vasishath  Â·  3Comments