-
Notifications
You must be signed in to change notification settings - Fork 22
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
Rust and Go implementations #9
Comments
Wow, totally awesome! Now we just need a C implementation and we have all the bases covered. :) |
I noticed you added |
It is possible to export a C api from the Rust implementation. That way we don't have to maintain an extra implementation. Even for other languages we can simply write thin wrappers around the C implementation. |
Ahhh, ok. I need to work through that a bit more. I actually have some uncommitted refactoring and updates I'll add that to. |
Haven't really thought about that much. Am trying to see how far I can get with a "safe" implementation. |
Exposing methods to C is still safe. It only means that the Rust compiler does the memory layout in a way which is compatible with C. This is arguably the best part of the Rust FFI. It allows you to gradually replace old unsafe C code with safe Rust code. |
@chjj Regarding flags, I can't seem to find any where in the code base where the setter |
In case there's any interest, the latest Rust version now has the initial file store working: |
For anyone interested, Go and Rust implementations are in the works here:
Rust version . (primary focus)
Go version
Goal is to provide both a file based store and a key/value store as an alternative
The text was updated successfully, but these errors were encountered: