nuskey8

nuskey8 / DotWasm

Public

A WebAssembly runtime implemented in C# for .NET

11
1
100% credibility
Found May 28, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
C#
AI Summary

DotWasm is a WebAssembly runtime written entirely in C# that lets developers run WebAssembly code directly within .NET applications, supporting nearly all WebAssembly 3.0 features.

How It Works

1
🔍 You discover DotWasm

You need to run WebAssembly code inside your .NET application and find this runtime.

2
📦 You add it to your project

With one simple command, the package installs into your .NET project.

3
📁 You load your WebAssembly file

You read your compiled WebAssembly code from a file into memory.

4
🔧 You set up the environment

You create a store and linker that prepare everything needed to run your code.

5
Everything is ready

Your WebAssembly module starts up and connects to the .NET environment.

6
🔗 You connect your own functions

Optionally, you can pass your own functions and data into the WebAssembly world.

🎉 Your code runs and returns results

You call your WebAssembly functions and get back the results you need.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is DotWasm?

DotWasm is a WebAssembly runtime built entirely in C#, designed to run .NET webassembly projects without relying on native code. It parses and executes wasm binaries directly in managed .NET code, supporting the full WebAssembly 3.0 specification except for Threads. You can decode wasm modules, instantiate them, call exported functions, and even pass host objects across the boundary through ExternalReference. The project ships as modular NuGet packages so you can pull in just the pieces you need, whether that is binary decoding, validation, or the full execution engine.

Why is it gaining traction?

The main appeal is pure managed execution. By avoiding dynamic code generation, DotWasm works with NativeAOT, opening doors for ahead-of-time compiled scenarios where traditional JIT-based runtimes would be excluded. Developers evaluating a .NET webassembly runtime for embedded or constrained environments find this compelling. The project also documents comprehensive spec compliance, claiming near-100% pass rates on the official wasm test suite, which builds confidence despite being alpha software.

Who should use this?

This targets .NET developers exploring embedded scenarios, plugin systems, or server-side wasm hosting where native dependencies are unwelcome. If you need to execute untrusted wasm modules in a .NET host with strict AOT deployment requirements, DotWasm fills a niche that Wasmtime and similar runtimes cannot. For performance-critical applications, you will want to look elsewhere, but for scenarios where compatibility and managed-only deployment matter more than raw speed, this is worth watching.

Verdict

DotWasm addresses a genuine gap in the .NET ecosystem for managed-only WebAssembly execution, and its spec coverage is impressive for an alpha project. However, with only 11 stars and an explicit warning against production use, the risk is real. The benchmark data showing 11x slower execution than Wasmtime is a significant trade-off to consider. Approach this as an early-stage experiment rather than a production-ready solution.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.