C# now beats Rust on WASM size
A developer has created an example of C# code that compiles to a smaller WebAssembly (WASM) binary than a similar Rust code. The C# code, found on GitHub, was created by Zion Sati and uses the 'dotnet' CLI to compile it to WASM. The example shows a C# program running on the browser, demonstrating its WASM capabilities. The size of the compiled WASM binaries is compared between the C# and Rust code, with the C# code coming out smaller. This development suggests that C# may be a viable alternative for WASM development. The code is available on GitHub, and the discussion is ongoing on Hacker News.
Read the full article at github.com →