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

Support no-std #66

Open
2 tasks
vincent-herlemont opened this issue Dec 20, 2023 · 3 comments
Open
2 tasks

Support no-std #66

vincent-herlemont opened this issue Dec 20, 2023 · 3 comments
Assignees
Labels
no-std-support no-std support

Comments

@vincent-herlemont
Copy link
Owner

  • Explore different ways
  • Fix various issues.
@vincent-herlemont vincent-herlemont added the no-std-support no-std support label Dec 20, 2023
@vincent-herlemont vincent-herlemont self-assigned this Dec 20, 2023
@AlvinKuruvilla
Copy link
Contributor

AlvinKuruvilla commented Jan 19, 2024

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

  • Tokio (to my knowledge) does not have no_std support
  • native_model: Brings in the Result type

These are just 2 main ones that stuck out to me, I'm sure there are more things to consider.

@vincent-herlemont
Copy link
Owner Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-std-support no-std support
Projects
None yet
Development

No branches or pull requests

2 participants