Skip to content
Doug Rocha

Scuttle DB

Relational database from scratch in Rust, running in your browser through WebAssembly. There is no server, and nothing is saved.

Primary keys are enforced. Selective lookups, UPDATEs and DELETEs find their rows through an index instead of scanning the table, and an ORDER BY on an indexed column reads the index in order instead of sorting. Prefix a query with EXPLAIN to see which plan the planner picked.

Queries run on main (503894f), compiled to a 559 KB WebAssembly file.

It also runs the project list, where you can filter this site's projects with SQL.

Source on GitHub

projects (name, language, kind, active), keyed on name

project_languages (project, language)

skills (name, kind, at_work), keyed on name

Starting Scuttle DB in your browser…