DuckDB WASM Demo

Created by Alexander Shank, a Chicago-based software engineer. Learn more at his personal blog, alexandershank.com.

This page shows off DuckDB running via WebAssembly (WASM) in the browser. A full SQL database engine compiled from C++ to WASM runs entirely client-side with no server required. Below you'll see it query an in-memory table in real-time with no additional server calls!

DuckDB initialization updates go here...

The WASM binary and worker scripts are fetched from a CDN on page load. A Web Worker is started to keep the UI responsive. A CSV file with sample data is loaded as a table object, and queries execute against this table entirely in your browser's WASM runtime. All of this happens without touching a backend server, but there are startup time penalties.