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

Reimplementation in N-API #33

Closed
cheery opened this issue Sep 10, 2020 · 6 comments · Fixed by #36
Closed

Reimplementation in N-API #33

cheery opened this issue Sep 10, 2020 · 6 comments · Fixed by #36

Comments

@cheery
Copy link
Owner

cheery commented Sep 10, 2020

As a response to discussion on the issue #32, we examine the possibility to reimplement the library with N-API. The motivation to do this change is that this interface is purported to be ABI-stable.

The secondary objective here is to also provide WebIDL specifications and TypeScript headers for the library, to allow easier interop from numerous languages that compile to Js.

This change is allowed to be backwards-breaking, and we will bump up the version number by major. Still the library users are considered. We will document why the interface changes, for each function. We also attempt to keep the new library useful for the same things the previous library was useful for.

Resources for the project:

  1. N-API documentation. Outright it seems quite good, easy to comprehend and comprehensive documentation for the library.
  2. WebIDL spec.
  3. WebIDL wikipedia entry.
  4. WebIDL binding generator an experimental tool to generate bindings from the WebIDL specs. I'm planning to examine this one and see how well it fares.

A new branch (v1) was created for the work toward the N-API bindings. Help is welcome and we will work on this together.

@GaikwadPratik
Copy link
Contributor

@cheery,

Thank you for taking initiative to create this ticket. I know all of us are busy. Just wanted to check if there is any progress on this since node v10 is EOL and is not being supported anymore

@GaikwadPratik
Copy link
Contributor

GaikwadPratik commented Jul 27, 2021

@cheery ,

when are you going to release the package in npm?

@cheery
Copy link
Owner Author

cheery commented Jul 27, 2021 via email

@GaikwadPratik
Copy link
Contributor

@cheery,

any idea when would you be releasing it in nom?

@cheery
Copy link
Owner Author

cheery commented Aug 10, 2021 via email

@GaikwadPratik
Copy link
Contributor

nope. Thanks!!!

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

Successfully merging a pull request may close this issue.

2 participants