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

N-API port #946

Merged
merged 110 commits into from
Aug 7, 2020
Merged

N-API port #946

merged 110 commits into from
Aug 7, 2020

Conversation

artemp
Copy link
Member

@artemp artemp commented Apr 24, 2020

@artemp artemp marked this pull request as draft April 24, 2020 14:49
@artemp artemp mentioned this pull request Apr 27, 2020
@Algunenano
Copy link
Contributor

Algunenano commented Apr 29, 2020

Hi @artemp, are you doing this by hand or are you using some kind of tool?

@artemp
Copy link
Member Author

artemp commented Apr 29, 2020

Hi @artemp, are you doing this by hand or are you using some kind of tool?

Both but mostly manually.
First I ran

./node_modules/node-addon-api/tools/conversion.js src/

but the tool is not very clever and here are lots of inconsistent usage (pre NAN etc) added over time so I'm manually reviewing and fixing things.
Your feedback is appreciated!

/cc @Algunenano

@Algunenano
Copy link
Contributor

Makes sense. For now I'm only done an overview of the changes, trying to familiarize myself with n-api more than reviewing the changes themselves.

One question that I have, but that is outside of the scope of the PR, is what changes are needed in the deployment of pre-compiled binaries since now I'd expect a single .node per platform. But that comes after making things work with n-api.

@artemp
Copy link
Member Author

artemp commented Apr 29, 2020

single .node per platform. But that comes after making things work with n-api.

That's the goal ^ 👍

@artemp artemp changed the title NAN => N-API initial port (WIP) [skip ci] N-API port Aug 4, 2020
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

Successfully merging this pull request may close these issues.

3 participants