Comments (9)
Wraps generic pointers into a c struct, use struct as opaque pointers in Rust. (almost the same as rocksdb c.h
API)
Some plain old struct(like Statistics, some callback structs), can be directly mapped as a rust #[repr(C)]
struct.
from rust-rocks.
Nice work. I certainly encourage you to keep going on this project. I may switch to using it myself at some point soon, and perhaps contribute, if you need anything!
from rust-rocks.
Thanks. Just published v0.1.0.
from rust-rocks.
Hey @bh1xuw. Is this project abandoned, or have you just not needed to improve its featureset lately?
from rust-rocks.
Yes. Thanks for your pointing out.
- spacejam/rust-rocksdb use pure
c.h
interface, which lacks some advanced functions. And may introduce some overhead(string conversion, pointer to pointer to the underlying C++ instance.). - other rust-rocksdb forks, notably pingcap's fork, which has the fullest feature set, never seem to be able to merge to upstream.
This project is for personal experiment & learning.
from rust-rocks.
Will leave this issue forever opened.
(sorry for changing your issue title
from rust-rocks.
Okay, thanks.
I didn't know direct C++ interop was possible. How do you manage that?
from rust-rocks.
@alexreg :) just made it up to date. v0.1.5 published.
from rust-rocks.
@bh1xuw Thanks!
from rust-rocks.
Related Issues (11)
- TODOs / Feature set compared with C++ RocksDB
- Link with circular reference among 2 crates under Linux in Rust? HOT 1
- Segfault using column families HOT 2
- Issue with iterator and lifetimes HOT 6
- Questions about the project HOT 3
- Cache needs to be shareable
- Memory Leaks HOT 1
- Title of README does not render correctly on crates.io HOT 2
- Working with RocksDB on Win10 HOT 3
- static-link with zlib overwrites src(submodule) files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-rocks.