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

NodeJS bindings and an NPM package #25

Closed
ashvardanian opened this issue Aug 29, 2023 · 1 comment · Fixed by #39
Closed

NodeJS bindings and an NPM package #25

ashvardanian opened this issue Aug 29, 2023 · 1 comment · Fixed by #39

Comments

@ashvardanian
Copy link
Owner

Python and C 99 are great, but let's add NPM bindings! Is anyone here ready to contribute? You can take USearch as an example.

@ashvardanian ashvardanian linked a pull request Sep 18, 2023 that will close this issue
@ashvardanian
Copy link
Owner Author

The skeleton is live, but it is flawed.

It provides a single function - stringzilla.find, which can't be efficient due to the limitations of the NodeJS API. It doesn't expose the underlying string buffer, so a copy of the entire string is made on every function call. So instead, we need to implement a wrapper class for our custom strings, that would provide a similar API to the JS string class.

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

Successfully merging a pull request may close this issue.

1 participant