-
Notifications
You must be signed in to change notification settings - Fork 50
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
create js bindings #124
Comments
Hi, before implementing this, I have a few questions to clarify. I don’t have prior experience with programming language bindings, but I am familiar with C/C++, Python, and JavaScript. In my previous experience, Python libraries like NumPy provide precompiled wheels, allowing users to install them easily via Since I'm more familiar with Python, I’d like to use issue #123 (#123) as an example. In Python, common binding methods include:
These allow us to write a Python extension, build precompiled wheels for different platforms, and publish the package on PyPI so users can For JavaScript, I’m less certain about the best approach. I did some research but I’m not fully confident if I’m on the right track. Some potential options I found include:
Could you clarify which approach you prefer, or if there's another recommended method for JS bindings? Thanks! |
Thank you for looking into it! I agree that distributing pre-compiled library is a good idea. I am also less familiar with Javascript. Here are some thoughts after searching around.
IMHO, Native Addons and SWIG are better options, but I am open to other solutions. |
After searching around Node.js Native Addons vs SWIG. I'd like to start with Node.js C++Addons. |
No description provided.
The text was updated successfully, but these errors were encountered: