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

C99 NAPI #161

Open
konsumer opened this issue Aug 18, 2022 · 0 comments
Open

C99 NAPI #161

konsumer opened this issue Aug 18, 2022 · 0 comments

Comments

@konsumer
Copy link
Collaborator

As mentioned in #160 we should use C99.

Use the C N-API calls, rather than the C++ napi lib. napi adds allocations and wrappers to work with C++. Unless you are using classes, the overhead is not worth it. And, you will probably end up with a smaller .node file.

@konsumer konsumer mentioned this issue Aug 18, 2022
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

1 participant