mono-wasm: a proof-of-concept aiming at building C# applications into WebAssembly


  • administrators

    This project is a proof-of-concept aiming at building C# applications into WebAssembly, by using Mono and compiling/linking everything statically into one .wasm file that can be easily delivered to browsers.

    The process does not use Emscripten but instead uses the experimental WebAssembly backend of LLVM, the LLVM linker and the binaryen tooling to generate the final .wasm code.

    The final .wasm file is loaded from JavaScript (see index.js), which also exposes proper callbacks for system calls that the C library will be calling into. These syscalls are responsible for heap management, I/O, etc.

    GitHub: https://github.com/lrz/mono-wasm


Log in to reply
 

A community for developers looking to put WebAssembly to use today. Join us to rock WebAssembly together!

Looks like your connection to WebAssembly Rocks was lost, please wait while we try to reconnect.