wasi-sqlite
sql.js
wasi-sqlite | sql.js | |
---|---|---|
3 | 1 | |
6 | 118 | |
- | - | |
0.0 | 10.0 | |
almost 2 years ago | about 4 years ago | |
C | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wasi-sqlite
-
SQLite 3.40.0 with WASM Support
I hacked a bit of that in here: https://github.com/rcarmo/wasi-sqlite
Right now I can run SQLite on my iPad under a-Shell pretty well, but there seems to be a bug in the REPL (not sure where) and memory usage skyrockets.
Would love to see this working in a CLI environment.
-
SQLite WASM Official
Very nice. I built sqlite3 for WASI/a-Shell to use on my iPad (https://github.com/rcarmo/wasi-sqlite) and it still has a few issues, I hope this will help (although right now the biggest issue seems to be that the REPL has some sort of memory leak when run inside WASI).
- Rcarmo/wasi-SQLite: sqlite3 CLI for a-Shell on iOS
sql.js
-
SQLite WASM Official
SQLite was one of the first large C code bases to be ported to the web. Alon Zakai (@kripken, the creator of emscripten), made the first commit to sql.js at the start of 2012 [0]. I got involved two years later, and have been maintaining sql.js since. A lot was added since 2012, but the initial core api with 3 functions 'open', 'exec', and 'close' still works today.
https://github.com/kripken/sql.js/commit/cebd80648dbd369b348...
What are some alternatives?
wasm_sqlite_with_stats - Documentation and demonstration of how to build WASM versions of SQLite with extensions embedded
vaxine - Rich-CRDT database based on AntidoteDB.
kikko - Powerful SQLite adapter for web, mobile and desktop. Build reactive UI on top of it
evolu - Local-first platform designed for privacy, ease of use, and no vendor lock-in
cowasm - CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.
examples - Example applications using ElectricSQL.
cr-sqlite - Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
datasette-lite - Datasette running in your browser using WebAssembly and Pyodide