websitehot

NetWasm

Independent .NET Compiler/Runtime (82.5 KB Hello World in C#)

playground.netwasm.com
NetWasm preview

About NetWasm

Edit C#, compile it locally to WebAssembly, run it, and download the standalone component.

In the maker’s words

I’ve been building NetWasm: an independent .NET compiler, CoreLib and runtime designed specifically for WebAssembly. It compiles Roslyn-generated CIL into standalone core WASM or WASI Preview 2 components - without shipping CoreCLR or Mono. A clean Release application containing Console.WriteLine(42) produces 82.5 KB of final WASM with WASI p2, including the runtime and precise garbage collector. Website: https://www.netwasm.com/ Playground: https://playground.netwasm.com/ The playground runs fully on the browser without a backend / cloud server compiling your code - it's all WASM! Locally, you use dotnet new, dotnet build, dotnet test, etc like you would normally. You can run the self-contained .wasm output with wasmtime, fully portable. GitHub repos: https://github.com/zion-sati/NetWasm https://github.com/zion-sati/NetWasm.Libraries What is it? It's CIL (used to be called MSIL - it's t…
zionsati, launching on Hacker News

Where people found it

More sites like NetWasm