r/WebAssembly • u/vilgefortz91 • 10d ago
BrowserPod 4.0: the microVM that runs in the browser, now free for any use
r/WebAssembly • u/vilgefortz91 • 10d ago
r/WebAssembly • u/elif941 • 20d ago
Hello, I have no experience or knowledge of these topics, and I couldn’t find an answer using AI, so I wanted to ask here. You’ve probably heard of browser-based games—for example, pes6.optijuegos.net. My question is: How can I download this game from this site to my computer so I can play it offline, locally? Is this possible? If so, how do I do it?
r/WebAssembly • u/PersonalityWild1379 • 23d ago
https://github.com/daugasauron/dolly
Complete slop but quite interesting conceptually. Tried to combine Docker with WASM.
The things it can run is very impressive, for example llama on webGPU running a bundled Qwen in pi agent. Everything compiled from source inside the browser, see the Dollyfiles, for example:
https://slopshare.dev/v0.1.4/view/pi-local/
Pi-agent is running on a custom runtime based on QuickJS that hooks in to the in-memory filesystem that lives in the browser tab. Claude as well (an old version from npm). Codex compiled from source.
For HTTP it implements libcurl through the browser fetch.
Also quite hilarious to have a "backend kernel" in javascript so you can write the "frontend" in C.
r/WebAssembly • u/alexp_lt • 24d ago
r/WebAssembly • u/gplane • 27d ago
r/WebAssembly • u/xprtix • 28d ago
I built XPRTIX (https://xprtix.com)—a browser-first media processing suite designed to handle video repair, image conversion, 3D mesh compression, and SVG editing 100% locally on the client.
Files never leave the user's machine. The entire suite relies on plain HTML, CSS, and ES modules (zero UI frameworks) to keep UI overhead as minimal as possible while offloading compute-heavy tasks to WebAssembly workers.
WASM Architecture & Technical Details:
- Primary pipeline uses WebCodecs and Mediabunny for fast local container manipulation.
- For unsupported containers or faststart bit-rewriting (e.g., relocating the moov atom to the front or retagging hev1 to hvc1 for iOS playback without re-encoding), it falls back to an optimized, lightweight FFmpeg WASM build running in a Web Worker.
2. Image Decoding (libheif WASM):
- Decodes iOS HEIC/HEIF containers locally using a compiled libheif WebAssembly module before processing canvas buffers for WebP, AVIF, PNG, or JPEG conversion.
3. 3D Mesh Compression (Draco & Meshopt WASM):
- Inspects GLB, glTF, OBJ, STL, and PLY geometry trees.
- Offloads heavy buffer quantization and vertex stream compression to Web Workers running Draco and Meshopt WebAssembly encoders to keep the main thread locked at 60 FPS.
Memory & Performance Lessons:
- Running heavy WASM binaries across multiple workers requires aggressive memory cleanup to prevent tab crashes on lower-tier mobile hardware or long sessions.
- Memory ArrayBuffers are allocated, processed, and explicitly terminated/garbage-collected per file job.
It is free with no accounts, paywalls, or watermarks.
I would love feedback from the community on WASM binary size optimization, worker thread pooling strategies, or memory management edge cases.
Link in the comments below.
r/WebAssembly • u/JairusSW • Oct 19 '26
I've found it frustrating that there seems to be no reliable source comparing the performance of WebAssembly runtimes. So, i've been working on wasm.fyi which does just that.
Hopefully this comes in handy! If there's a particular .wasm corpora or runtime you'd like to see added, please let me know!
r/WebAssembly • u/somdoron • Oct 15 '26
https://github.com/submilli/submilli-runtime
I built Submilli, it's a runtime for AI agents that write code instead of tool-calling, aka code-mode or programmatic tool calling. Built in Rust.
It has its own TypeScript checker, a bit more strict than tsc and without async/await, because mostly, the agent doesn't need them.
The compiler generates a WasmGC binary, which we then run with a new interpreter, submilli-wasm: https://github.com/submilli/submilli-wasm.
The reason for a new interpreter instead of wasmtime or wasmi:
Submilli-wasm passes the Wasm 3.0 spec testsuite, has an API that is (almost) compatible with wasmtime, and supports async host functions. It compiles 8 to 20 times faster than wasmtime and about 2 times faster than wasmi.
I think Wasm has great advantages for these types of agentic use cases. One is the isolation and memory safety, as an alternative to microVMs or processes.
The second one, which I like a lot, is the fuel metering - we can cap the execution with fuel, which is much better than just a timeout. Most of the time, agent-generated code is going to block on IO anyway, which is almost free (only the memory).
Submilli supports most of ECMA-262, but not Node.js. It has its own standard library, which is tailored for agent use and implemented on the host side in Rust.
Submilli has support for custom packages that the agent can import and use (the operator needs to install them). Each package compiles to a Wasm module on its own, and the runtime links them through the linker. So I compile packages ahead of time and just link them when the LLM-generated code is ready.
The interpreter also checks permissions in real time, like whether an HTTP call or a file-system operation is allowed. The permission checks are per package, so each package defines what it is going to access. For example, while a Stripe package is allowed to call api.stripe.com, the model-generated code is not.
r/WebAssembly • u/Positive-Device-3570 • Oct 11 '26
Amber Folio is an emulator for SSI's Gold Box RPGs (Pool of Radiance, 1988), written in C++ and compiled with Emscripten. A few things I learned getting it into a browser:
It runs in desktop browsers and on iPhone, iPad and Android. To play you need your own copy (GOG or Steam); the site is https://amberfolio.org. The emulator is AGPL: https://github.com/amberfolio/amberfolio
I built it with Claude Code, exclusively. The project isn't affiliated with the rights holders of the games.
Update (23 Oct): 1.0 is out.
r/WebAssembly • u/Numerous-Fan8138 • Oct 05 '26
Over the weekend I built a technical proof of concept showing an LLM running client-side in a browser using Llama.cpp compiled to WASM with WebGPU.
r/WebAssembly • u/minamoto108 • Oct 05 '26
We ship Hexana, a plugin for JetBrains IDEs that opens Wasm and native binaries in the editor. 0.21 is out. The Wasm-specific items are below. The rest of the release (hex diff details, native binary diff, Arrow format support) we will skip here.
1. WasmGC type graph in the WAT view
GC types in the WAT (virtualized) tab now carry two new layers.
Inline annotations: every type definition shows a kind badge and field-type labels inline.

Alt+click opens a popup: field names, types, supertypes, subtypes, byte offset.

Show Type Graph opens an interactive canvas:

2. Scripting suites and SARIF for Wasm binaries
The scripting layer got three additions relevant to Wasm tooling pipelines.
hexana.defineCheck(id, fn): findings from a check function land in the Problems tab and in SARIF 2.1.0 output. Write a check once, get IDE integration and machine-readable output.hexana.defineFlags(schema): typed per-run parameters. No more free-form globals for things like "which section to ignore".*.test.js suites: declare artifact roles via hexana.artifact(role, {formats}). Use describe, test, beforeEach, afterEach with async. Deterministic seeded crypto (SHA-256 counter DRBG seeded from script and artifact content). ESM loader resolves bare specifiers from a suite-rooted node_modules.run_script_suite runs suites from CLI or the MCP tool: human report or JUnit XML, exit 1 on failure. Fits into a CI step.
The IDE side: a Hexana Suite run configuration streams results into the test console as a tree. Failures navigate to source. Rerun Failed and Copy CLI Command work. Gutter run icons on test() and describe(). A "Run Suites for This Binary" context action on binary files.
3. Hex diff for Wasm files
Compare two .wasm files (or a VCS change) in the platform diff window: hex side by side, changed bytes highlighted, long unchanged runs collapsed, a section bar pairing sections by name. The Sections and Imports table tabs below show rows tinted added/removed/modified.
4. Extensionless Wasm files open fully
A Wasm module without a .wasm extension now opens in the full editor (WAT view, hex, all tabs) instead of falling back to a plain hex view. One shared provider factory serves the IDE, VS Code, and the browser app, so format drift between hosts is gone.
What does the WasmGC type graph look like on your modules? We tested at 294 nodes. Curious whether it holds up on larger hierarchies.
JetBrains Marketplace: https://plugins.jetbrains.com/plugin/29090-hexana | Docs: https://jetbrains.github.io/hexana
r/WebAssembly • u/kgoncharuk • Oct 01 '26
Hi all,
I'd like to introduce arm64js -- an ARMv8-A system emulator that runs in wasm (built in Rust) and can boot real Alpine Linux in a web browser. It's an interpreter that emulates a minimal hardware stack, so the VM thinks it's on real hardware and thus acts normal: runs apk, Docker, etc.
Since WebAssembly doesn't allow fetching data without CORS and sending TCP requests, apk and access to the internet work via small proxies: apk goes via a proxy that just adds CORS, TCP goes via a WebSocket <> TCP gateway.
One wasm module instantiated in a few web workers, all sharing one SharedArrayBuffer as the VM's "RAM".
There is also a JS SDK for other devs to create and serve their own VMs. It's free for non-commercial use.
You can read more about how I got there: https://arm64js.com/blog/tui-apps-in-the-browser/
Or try the SDK: https://github.com/kooler/arm64js-sdk
Feedback is welcome.
r/WebAssembly • u/zemlyansky • Oct 01 '26
Hi all, i've been playing with wasm for a while. Started by reimplementing murmurhash in wat around 10 years ago. Recently i've been building wlearn in my free time, a machine learning stack for browsers and node, with matching python implementation. Recent coding agents made it [feel] realistic. Just decided to share here in case someone finds it useful, has feedback or wants to collab.
The idea is to make tabular ML available in browsers (local training, private data)
Heavily relies on WebAssembly obviously. Preprocessing uses Tranfi. Neural models, symbolic regression use Polygrad. Those are two other wasm-based libraries i'm developing (i guess it's called ai psychosis nowadays)
r/WebAssembly • u/zionsati • Sep 30 '26
I’ve been building NetWasm: a CIL-to-WebAssembly compiler with its own CoreLib and runtime, designed around Wasm and WASI.
A clean Release build containing Console.WriteLine(42) produces 84,513 bytes of final, uncompressed WASI Preview 2 component, including the runtime and precise garbage collector. This is a portable .wasm file that you can run with wasmtime.
Roslyn produces CIL; NetWasm compiles the reachable program into Wasm, specializes generics and links the runtime support it uses. The emitted application doesn’t carry CoreCLR or Mono.
Some architectural choices:
dynamic.Working features include generics, exceptions, virtual/interface dispatch, async/await, LINQ, JSON, XML, regex, HTTP and TUnit testing. It’s pre-1.0, and managed threading isn’t currently supported.
The playground compiles and runs entirely in the browser. The compiler tooling itself uses Microsoft’s .NET/Wasm toolchain, thus dotnet new dotnet build dotnet run dotnet test - yes it comes with TUnit with VSTest runner - dotnet publish all work as you're used to.
Oh and it already supports C# 15 syntax.
r/WebAssembly • u/syrusakbary • Sep 25 '26
r/WebAssembly • u/Infinite-Jaguar-1753 • Sep 24 '26
Hey guys, so no going in details but suppose (am using webasm with rust), someone open my website and in background it gets connected to a network of other people's browsers, and there any browser can recieve data which they can verify through merkles (let's just say they recieve data A from many other browsers and then recieve data B and after some hashing it check if both r equal and send to others if they request it), then is there any way for malicious users to tamper with their browser so that they can send wrong data or verify wrongly or is there any way for us to know if the user has tampered the logic and hence alert other browsers that it's malicious
r/WebAssembly • u/syrusakbary • Sep 23 '26
r/WebAssembly • u/MichaelS1011 • Sep 23 '26
We measured it.
Same 8 attack intents.
Same exit-code rule.
Live execution.
No hardcoded results.
The contrast:
gVisor: 8/8 ALLOWED
Ephemora Cell: 8/8 BLOCKED
Why?
gVisor isolates the host from the container, but the guest still has access to the Linux ABI and therefore to primitives such as:
→ fork
→ sockets
→ filesystem access
→ environment access
→ threading
Ephemora Cell takes a different approach.
The execution boundary is WASI-based and deny-by-default.
No shell / fork API.
No socket API in the tested interface.
No host filesystem preopens by default.
No unrestricted environment.
No WebAssembly threads.
So the interesting result isn't simply that "one sandbox is better than another."
It's that the execution model itself changes the attack surface.
And we didn't just claim it.
The benchmark is reproducible from the public repository, including the raw evidence.
8 attack intents.
3 execution boundaries.
1 measurement rule.
Don't trust the code. Verify the run.
r/WebAssembly • u/minamoto108 • Sep 17 '26
We ship Hexana, a plugin for JetBrains IDEs that opens Wasm and native binaries in the editor. 0.20 is out. Four things here are Wasm-relevant. The rest of the release covers other formats; we will not pad this post with it.
**1. Runtime compatibility for WebAssembly binaries**
The pain: your module uses a proposal, one of your target runtimes does not support it, and you learn that at deploy time.
- Declare the runtimes you ship against: Settings | Build, Execution, Deployment | WebAssembly | Runtime Compatibility.
- Hexana checks every `.wasm` you open against the declared set.
- Unsupported proposals turn the proposals badge into a warning and open a new Compatibility tab.
- Verdicts come from WebAssembly's `features.json`.
- Nothing declared? The tab still lists which runtimes support each proposal. Useful for a file you did not build yourself.
- The declaration is written to `.hexana/runtimes.json`. The VS Code extension reads the same file, so the setup moves with the project.

**2. Breakpoints in binary views, before a session exists**
- Click the gutter in WAT (virtualized) or Disassembly. No debug session needed.
- The breakpoint anchors to the binary's content hash, not the path. Rename, move, restart: it stays.
- A rebuild marks it stale instead of leaving it silently displaced.
- The gutter icon shows what the runtime did: registered, instruction-precise, degraded, or stale.
- Wasm sessions covered: GraalWasm, Node.js, browser, wasmtime, WAMR. Firmware ELF too.
- Honest limitation: conditions and hit counts are not supported yet.

**3. Debugger Console tab**
A raw LLDB command line for wasmtime and WAMR sessions. Execution control stays routed through the IDE's debug actions, so the console cannot desync the IDE's view of the session. Not available for GraalWasm or CDP sessions.

**4. Component Dependencies graph is navigable**
Double-click a core module or nested component: it opens in its own tab. Double-click an import or export: its bytes get selected in the hex view.
**One behavior change worth knowing**
Script tabs run sandboxed now. Up to and including 0.18 a script tab had full host access and could call arbitrary Java. Now: no host classes, no processes, no threads, no native access, a timeout, bounded output. `open(path)` parses another file into the same read-only `binary` API and is the only file-system access. Scripts that relied on host classes will break. Scripts that inspect binary data keep working.
---
What runtimes are you actually shipping Wasm against in production? The checker covers what `features.json` tracks. Curious what is missing from that dataset.
---
JetBrains Marketplace: https://plugins.jetbrains.com/plugin/29090-hexana
r/WebAssembly • u/alexis_placet • Sep 16 '26

Some of my colleagues worked on improving the performances of numpy running in the browser by using OpenBLAS.
I let you check the article they wrote about that: https://notebook.link/blog/the-last-mile-faster-numpy/
r/WebAssembly • u/IamAggressiveNapkin • Sep 15 '26
Hi all, I built this framework over the last month or so during my free time and thought y’all might be interested. I’d especially like to point out the module refresh mechanism I built to keep memory footprints under control since the WASM spec only allows memory to grow linearly. But any feedback at all that you have would be appreciated! And just to be frank, yes I did use claude for the code writing, but I architected each individual detail of how this framework works myself. Beyond being a passion project, it taught me a lot from several aspects of desktop development, to custom LSPs and more
r/WebAssembly • u/According-Ad-7069 • Sep 06 '26
In my excitement about finally getting WasmPascal working, I sort of forgot why I built it in the first place: I was looking for a way to compile small Wasm modules quickly and easily. In https://nofuss.co.za/blog/wasm_pascal_add_numbers/, I show how to do just that. It's the classic adding two numbers example, but in Pascal, compiled to a small binary in the browser. You can then load it the usual way via JavaScript. I should have started with this, I geeked out hard 😆
r/WebAssembly • u/syrusakbary • Sep 01 '26