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

Transition guide for porting to N-API backend #596

Closed
5 tasks done
dherman opened this issue Sep 18, 2020 · 1 comment
Closed
5 tasks done

Transition guide for porting to N-API backend #596

dherman opened this issue Sep 18, 2020 · 1 comment

Comments

@dherman
Copy link
Collaborator

dherman commented Sep 18, 2020

Functional completeness of the N-API backend is the first step towards ABI stability, and is almost complete! The next step is to create the transition plan for apps using the legacy backend to be able to migrate to the new backend.

This issue will track the work items needed in order to enable Neon users to transition to the new N-API backend. Rough sketch for now:

  • Alternative to thread-safe callbacks - Threadsafe Handles #622
  • Transition guide:
    • Document an alternative to class! (using JsBox)
    • Document an alternative to the task API (using thread-safe handles + a thread-pool library from crates.io)
    • Go through the dynamic-tests from legacy and document every incompatible change that was required
@dherman
Copy link
Collaborator Author

dherman commented Mar 12, 2021

Fixed in #685.

@dherman dherman closed this as completed Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants