NetWasm

Compile C# and .NET CIL to small standalone WebAssembly

Image 1 of 1: NetWasm site with the headline Compile C# to WebAssembly

An independent compiler, CoreLib, runtime and SDK that turns C# into standalone Wasm with WASI, without carrying the desktop CLR, Mono or dotnet.js into production. It has a browser playground.

Trade-offs

  • Supports portable APIs instead of the full platform, for a smaller contract.
  • Binaryen's wasm-opt is part of the compiler pipeline, not a post-processing step.

Reviews

Loading reviews

    More in Compilers

    See all 13 →
    • XSProgramming language with its whole toolchain in one static binary
    • ddcAndroid DEX to Java decompiler with a javac parse gate
    • TheseusA compiler that turns DOS and Win32 executables into Rust source
    • ArityLanguage server, formatter and linter for R
    • gabagoolWebAssembly interpreter whose execution state can be snapshotted and resumed
    • SharpTSTypeScript interpreter and ahead-of-time compiler to .NET IL, written in C#

    More in WebAssembly

    See all 16 →
    • MPEEOffline routing and vehicle-routing optimization in one Rust engine
    • dbxliteBrowser SQL workbench on DuckDB for local files, BigQuery and Snowflake
    • ExtrudoParametric CAD for 3D printing that runs offline in a browser tab
    • trynixBoots any package from 13 years of nixpkgs in a browser tab
    • kube32Kubernetes-compatible control plane for ESP32 microcontrollers
    • Ely GPUI ComponentComponent library for GPUI, Zed's Rust UI framework, in light and dark

    More in C#

    See all 12 →
    • KahunaRaft-replicated cluster for locks, key/value transactions and ordered IDs
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • tfplan2mdTerraform plans as readable Markdown for pull requests
    • K7Self-hosted media server for movies, series and music for family and friends
    • OverTranslateWindows screen translator that overlays translations on games, manga and video
    • ConnapseSelf-hosted knowledge and memory backend for AI agents