Skip to content
All articles
Engineering#WebAssembly#Wasm#WASI

WebAssembly beyond the browser: plugins, edge and portable apps

WebAssembly started as a way to run fast code in web pages. It is quietly becoming a universal, sandboxed runtime for everywhere else too.

EEPI TeamOct 2, 2026 · 6 min read
WebAssembly beyond the browser: plugins, edge and portable apps

WebAssembly, or Wasm, arrived in browsers in 2017 as a way to run code written in C, C++ or Rust at near-native speed in a web page. Photo editors, design tools, games and video apps took advantage. For most web developers it stayed a niche tool.

That has changed. Wasm is now a general-purpose runtime, inside and outside the browser.

Better support for more languages

Early Wasm suited languages that manage their own memory. Garbage-collected languages had to ship their own collector inside the module, which made binaries large and slow. Wasm's garbage collection proposal, now supported in all major browsers, fixed that. Dart, Kotlin and Java can compile to compact Wasm, and Flutter can build web apps to WebAssembly for noticeably smoother performance than its JavaScript output.

Outside the browser

WASI, the WebAssembly System Interface, gives Wasm modules a standard, capability-based way to access files, clocks, networking and more, outside a browser. The component model adds typed interfaces so modules written in different languages can be composed together.

Together they make Wasm a portable, sandboxed unit of code that runs the same on a laptop, a server or an edge node.

Where it is being used

  • Plugins. Desktop apps, databases and proxies let users extend them with Wasm plugins. The sandbox means a bad plugin cannot read your files or crash the host.
  • Edge and serverless. Wasm functions start in microseconds to milliseconds and use little memory, which suits short, bursty workloads.
  • Heavy work in the browser. Image and video processing, PDF generation, CAD and spreadsheets with real formulas.
  • Sharing logic. One validation or pricing engine compiled to Wasm and used by the web app, the mobile app and the server.

What it is not

Wasm does not replace JavaScript for everyday UI, and it does not replace containers for full applications with many dependencies. Debugging tooling is improving but still behind native and JavaScript tooling. Use it where its strengths, speed, portability and sandboxing, solve a real problem.

A good first project

Look for a CPU-heavy piece of your web app, such as image resizing, file conversion or a complex calculation, and move just that into a Wasm module. File-conversion tools that run entirely in the browser, without uploading files to a server, are a good example of the privacy and speed benefits.

#WebAssembly#Wasm#WASI#Performance

Frequently asked questions

What is WebAssembly?

A compact binary instruction format that runs at near-native speed in a secure sandbox. Languages such as Rust, C++, Go, Dart and Kotlin can compile to it.

Can WebAssembly run outside the browser?

Yes. With WASI and runtimes like Wasmtime, Wasm modules run on servers, at the edge and inside other applications as plugins.

Does Flutter use WebAssembly?

Flutter can compile web apps to WebAssembly using Wasm garbage collection support, which generally improves performance compared with its JavaScript build.

Keep exploring

Newsletter

Enjoyed this? Get the next one first.

One email a month with our newest articles on AI, engineering, mobile, ERP and the products we ship. No spam, unsubscribe any time.

  • Monthly, never more
  • New case studies first
  • Practical, no hype

One email a month. No spam, unsubscribe any time.