sqlite-vfs
Build SQLite virtual file systems (VFS) by implementing a simple Rust trait. (by rkusa)
asyncify
Standalone Asyncify helper for Binaryen (by GoogleChromeLabs)
sqlite-vfs | asyncify | |
---|---|---|
2 | 1 | |
76 | 116 | |
- | 1.7% | |
0.0 | 3.6 | |
almost 2 years ago | 4 months ago | |
Rust | JavaScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
sqlite-vfs
Posts with mentions or reviews of sqlite-vfs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-17.
-
Extending SQLite with Rust
You may be able to have something working by implementing a VFS. (https://github.com/rkusa/sqlite-vfs)
-
Store SQLite in Cloudflare Durable Objects
With that, I had enough information to build sqlite-vfs, a Rust library that wraps all the necessary interactions with the C SQLite library and exposes a much simpler Rust trait. I'll not go into the details of this library here.
asyncify
Posts with mentions or reviews of asyncify.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-26.
-
Store SQLite in Cloudflare Durable Objects
The asyncification is achieved by unwinding and rewinding the local stack. With wasm-opt, this is done on a WASM level as post-build transformation. This makes it a language-agnostic approach. Once a WASM module is asyncified it needs to be used through the JavaScript wrapper Asyncify. A good introduction to asyncify can be found here: Using asynchronous web APIs from WebAssembly.
What are some alternatives?
When comparing sqlite-vfs and asyncify you can also consider the following projects:
wasm-sqlite - [Experimental] SQLite compiled to WASM with pluggable page storage.
workers-wasi
rusqlite - Ergonomic bindings to SQLite for Rust
wasi-sdk - WASI-enabled WebAssembly C/C++ toolchain
binaryen - Optimizer and compiler/toolchain library for WebAssembly
do-sqlite - [Experimental] Persist SQLite in a Cloudflare Durable Object
litestream - Streaming replication for SQLite.
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript