~/talk

SQLite in Wasm... why and how?

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [webassembly, web-platform]
slides:none on file

Shows how the SQLite C engine compiled to WebAssembly provides four JavaScript-facing APIs (C-like, object-oriented, message-based webworker, and promise wrappers) to run full SQL in the browser. Demonstrations load the Chinook database and run joins, window functions and group-by queries in about 5–80 ms; persistence can use localStorage/sessionStorage (~5 MB) or the Origin Private File System (up to ~60% of disk) via webworkers for nonblocking, near-native performance, and user-defined functions require compiling into Wasm.

AI-written summary · about

  1. 0:00Introduction
  2. 0:21What is SQLite
  3. 1:47SQLite in Wasm benefits
  4. 2:50SQLite in Wasm history
  5. 3:33SQLite in Wasm API
  6. 4:56Web Workers and persistence
  7. 5:57Ideal use cases
  8. 7:03Live demo
  9. 9:55Browser APIs key
  10. 13:46Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.