Hacker News new | ask | show | jobs
by samwillis 1222 days ago
WASM is to the "Origin Privet File System" (OPFS) is to WebGPU. It's about making lower level hardware primitives (CPU, HDD, GPU) available in a sandboxed form to the web platform. There are many database engines, and even extensions for SQLite, that are domain specific. WebSQL was the wrong abstraction and would have failed to fulfilled all use cases.

The correct abstraction is WASM and the now no longer missing piece, the OPFS, which allows you to build any ACID compliment database engines you want.

Take for example DuckDB, without WASM and the OPFS that wouldn't be possible. We are going to see an explosion in "local first" development as a result of these new primaries build on top of many different database engines.