Skip to content
← All workSystems / Rust

Rust Systems Projects — WebAssembly Deployment

An async Redis client (RESP2/3, pipelining, connection pool), a proof-of-work blockchain and a parallel CLI — compiled to WASM to run live in the browser, with 132 tests.

Stack
Rust · Tokio · Rayon · WASM
Key figure
132 — Tests passing
DG Labs

Rust Systems → WASM

132Tests passing

Rust · Tokio · Rayon · WASM

01

The problem

Systems code usually lives behind a terminal; the goal was to make it something anyone could run from a link.

02

The approach

Built an async Redis client with RESP2/3, pipelining and a connection pool on Tokio, a proof-of-work blockchain, and a parallel CLI on Rayon — then compiled them to WebAssembly.

03

The outcome

All three run live in the browser, covered by 132 tests.

Of note

  • ✦ Async Redis client — RESP2/3, pipelining, pool
  • ✦ Proof-of-work blockchain
  • ✦ Parallel CLI on Rayon
  • ✦ Compiled to WASM, 132 tests