-
Notifications
You must be signed in to change notification settings - Fork 26
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
Feature request: usage as a crate or machine-readable output #20
Comments
Sure, I think the alignment part is easily separable from the other stuff so I could just make it its own crate anyway. |
I haven't honestly tried it yet on Windows. Not having Windows support at all may exclude our use case, but missing a few platforms is fine. WFA2 already only supports 64 bit architectures which excludes it from being entirely portable in a Edit: turns out wasm memory64 is actually somewhat available behind a flag in all browsers. Maybe an avenue sooner than I thought! |
I should probably also clarify, it does build on windows, not using the msvc but the windows-gnu target. I don't know how electron/vscode interfaces with rust, but it would probably complicate ABI matters and/or make the build more complicated. |
I have factored the alignment part out into a library, you can read the documentation here. I looked into wasm64, but it seems like it is quite poorly supported for rust at least, so if you wanted to use it, you'd probably have to use the WFA2 library directly using C (although I don't know the state of C tooling for wasm64 either). |
I came across this library when looking for binary diff implementations. This is pretty nice implementation and incredibly fast. I was interested in using it as a library for a hex editor, and I was wondering if you had any appetite to expose some of its functionality as a crate. Or, alternatively and perhaps more simply, a more machine-readable
--print
option for consumption in other tools.I'm happy to spend some time putting together a PR for either of these approaches if you think they would make sense 🙂
The text was updated successfully, but these errors were encountered: