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

Implement IndexDB Support #34

Closed
vincent-herlemont opened this issue Aug 4, 2023 · 2 comments
Closed

Implement IndexDB Support #34

vincent-herlemont opened this issue Aug 4, 2023 · 2 comments
Labels
long-term Long term feature

Comments

@vincent-herlemont
Copy link
Owner

After thorough consideration and analysis, we have decided not to implement support for IndexDB in the Struct DB project at this stage. This decision is based on the following reasons:

  1. No Immediate Need: The database is primarily designed for cross-platform Mobile/Desktop applications, and there is no immediate requirement for execution in the browser in offline mode.
  2. Significant Refactoring Required: Implementing IndexDB would require a substantial refactor of the existing codebase, which is not justifiable at this stage of development.
  3. Focus on Other Platforms: The primary focus of Struct DB is to provide a drop-in, fast, and embedded database solution for Linux, macOS, Windows, Android, and iOS. The inclusion of browser-based WebBrowser WASM support is not aligned with the current goals.

However, we acknowledge that there may be potential use cases for IndexDB support in the future. Therefore, we will keep this issue open and invite community feedback and discussion.

@vincent-herlemont vincent-herlemont added the long-term Long term feature label Aug 4, 2023
@GregoryConrad
Copy link

If your goal is to get browser support, here’s my two cents: redb supports wasi (I was actually the one who contributed wasi support to redb), so you could get browser support in native db via wasi as a compilation target in conjunction with a WASI-JS polyfill like wasmer.js (see wasmerio/wasmer-js#305)

@vincent-herlemont
Copy link
Owner Author

GregoryConrad

Thank you for your comment. I have just opened a specific issue #65 for this, and I will close this one as it is no longer relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long-term Long term feature
Projects
None yet
Development

No branches or pull requests

2 participants