Рет қаралды 3,481
SQLite in Wasm: A Glimpse into the Future of Shared Libraries - Carl Sverre, Amplify Partners
I've been captivated by Wasm's potential from the get-go. The ability to run applications in various environments with a capability based security model is a game-changer. In this talk, I'll be demonstrating Wasm's flexibility through a live demo where I mirror SQLite between browser tabs and the edge, enabling offline-first collaborative workloads. To achieve this, I developed a core library in Rust that embeds SQLite and my synchronization engine while exposing an IO layer to the host. This IO abstraction made it easy to compile the library to Wasm and host it in different environments, such as the browser and durable edge functions. You should attend this talk if you're interested in constructing sophisticated core libraries that can operate everywhere, leveraging the impressive benefits of Wasm.