wasm-sqlite VS asyncify

Compare wasm-sqlite vs asyncify and see what are their differences.

wasm-sqlite

[Experimental] SQLite compiled to WASM with pluggable page storage. (by rkusa)

asyncify

Standalone Asyncify helper for Binaryen (by GoogleChromeLabs)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
wasm-sqlite asyncify
1 1
47 114
- 4.4%
0.0 3.6
about 1 year ago 3 months ago
Rust JavaScript
- 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.

wasm-sqlite

Posts with mentions or reviews of wasm-sqlite. 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
    14 projects | dev.to | 26 Jan 2022
    The whole code can be found here: github.com/rkusa/wasm-sqlite/blob/main/wasm/src/vfs.rs. By reducing all down to the two methods get_page and put_page (to which I get back later in the post), the VFS ended up being a generic VFS for when you want to persist SQLite pages as separate files/objects. Using it anywhere else than a DO would just be a matter of providing a different implementation to those two methods.

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
    14 projects | dev.to | 26 Jan 2022
    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 wasm-sqlite and asyncify you can also consider the following projects:

rusqlite - Ergonomic bindings to SQLite for Rust

wasi-sdk - WASI-enabled WebAssembly C/C++ toolchain

workers-wasi

sqlite-vfs - Build SQLite virtual file systems (VFS) by implementing a simple Rust trait.

binaryen - Optimizer and compiler/toolchain library for WebAssembly

rusqlite - Ergonomic bindings to SQLite for Rust

do-sqlite - [Experimental] Persist SQLite in a Cloudflare Durable Object

wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript