vincent-herlemont / native_db

Drop-in embedded database in Rust
MIT License
431 stars 17 forks source link

Support no-std #66

Open vincent-herlemont opened 9 months ago

vincent-herlemont commented 9 months ago
AlvinKuruvilla commented 8 months ago

This is a cool project, and I'm considering contributing however I can. In regards to this, I see a couple of blockers specifically.

vincent-herlemont commented 8 months ago

Thank you, @AlvinKuruvilla, for your interest in this project. You are absolutely right; there are several bottlenecks to supporting no-std, and I'm not sure if it's feasible. In addition to Tokio/Results and other necessary refactoring to make the Native DB code no-std compatible, there's redb (used as a backend) which seems not to support no-std either. So, it doesn't look very promising in this regard... If you have any other advice or suggestions, please don't hesitate to share.

AlvinKuruvilla commented 8 months ago

After researching, I found that the best database backend candidate I could find is jammdb. I don't know how compatible it is with the current API/types, but it seems like a good option with the limited options. If there's anything you would rather me prioritize working on (it doesn't even need to be on this), I'd be more than happy to take a stab at it.