How to Compile Rust to WebAssembly and Run It with Wasmtime
Learn how to compile a Rust program to WebAssembly with the wasm32-wasip2 target and run it with Wasmtime, including arguments, env vars and files.
WebAssembly (WASM) is a binary instruction format that enables high-performance applications on the web and beyond. I've been working extensively with WebAssembly, particularly through Fermyon Spin, to build fast, secure microservices. These posts cover my journey with WASM, from basic concepts to advanced deployment strategies.
Learn how to compile a Rust program to WebAssembly with the wasm32-wasip2 target and run it with Wasmtime, including arguments, env vars and files.
Akamai Functions is generally available. Create a Spin 4 app, deploy it with the spin aka 1.0 plugin and inspect status and logs afterwards.
Since Wasmtime 48, WASI sockets are denied by default. Allow TCP, UDP and DNS on the CLI and when embedding Wasmtime, or restrict it with an allow-list.
Keep secrets out of spin.toml: run OpenBao in Docker and read secrets from a Rust Spin app with the OpenBao variable provider introduced in Spin 4.2.
The first version of Building Serverless Applications with WebAssembly & Spin is officially released on Leanpub! Grab your copy, check out what's inside, and learn about the upcoming print edition.
Announcing my upcoming book "Building Serverless Applications with WebAssembly & Spin". Learn how to build production microservices in Rust with Spin.
Discover component composition in Spin 4.0! A practical, hands-on Rust tutorial to build, bind, and stitch WebAssembly components together.
Everything you need to build and deploy your Spin applications straight from Azure DevOps Pipelines.
A small update on things I've been doing recently and a curated list of articles I've published on our corporate blog
Learn how to run Wasm workloads in Docker Desktop and how to orchestrate distributed architectures using containers and Wasm.
I'm going all in on WebAssembly and I will join Fermyon as a Cloud Advocate starting February 2024.
Learn and understand how you can build plugins for Fermyon Spin by exploring the check-for-update plugin.
Fermyon Spin now supports using Azure Cosmos DB as key-value store for your Spin apps. This article explains how to get it up and running in no time!
This story explains and illustrates how I migrated the backend for my blog from containers to WebAssembly with Fermyon Spin & Fermyon Cloud
With Fermyon Spin 1.1, Spin SDKs for Rust and Go come with built-in routers for HTTP apps. This article demonstrates how to use the new router in Rust to layout a full-fledged HTTP API.