This fantastic blog post gives a real deep-dive into how Rust compiles to WebAssembly, putting the tooling to one side and looking under the hood. The post starts with the ‘hello world’ of WebAssembly, an application that exports an
add function, using this as a way to introduce ABIs, imports, high-level types and a whole lot more. Even if you have no intebtion to learn or use Rust, you’ll learn a lot about WebAssembly via this post.
SQLite is a simple, and very lightweight SQL database, written in C and backed by a single file. It’s not designed for scaling at the back-end, rather, it is most often used as an embedded SQL database in the client. You’ll find it in all sorts of places, Firefox, iOS, etc …
Wth WebAssembly it is possible to compile SQLlite into a small (780k) wasm module, allowing you to run it client-side. This blog post explores how this can be used to create client-side full text search capabilities.
Last week I attended a conference where I dropped into a session talking about confidential computing. I wasn’t expecting this talk to have anything to do with WebAssembly, so imagine my surprise when the speaker referenced Enarx, an open source WebAssembly runtime for executing workloads in confidential environments.
This is a link to one of their recent blog posts, which provides some additional analysis on the State of WebAssembly report i published last year.
Talking of the state of WebAssembly, here’s a quick review of the important events from 2022 and a look ahead to 2023.