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

Look for possible Rust alternative #8

Open
xiBread opened this issue Mar 6, 2024 · 0 comments
Open

Look for possible Rust alternative #8

xiBread opened this issue Mar 6, 2024 · 0 comments

Comments

@xiBread
Copy link
Owner

xiBread commented Mar 6, 2024

Just because I would rather not deal with more C++ in the future.

Binding lib: NAPI-RS or Neon
V8 bindings: https://github.com/denoland/rusty_v8

Problem: Neither NAPI nor Neon have the same introspection capabilities. The v8 crate handles things a bit differently and would not be a 1-to-1 port since getting the isolate requires direct initialization as if I were creating a new environment. Even if I were able to translate the current C++ code, the question of how to initialize it still stands - the v8 APIs aren't compatible with either lib.

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