News for hackers. Stuff that matters.
Re:C# now beats Rust on WASM size by flohofwoe on Wednesday October 21, 2026 @07:28AM (#50179120)
Not necessarily true (especially with the new Zig Io interface), a vanilla Rust Hello World compiles to a 40 KBytes WASI blob, while a vanilla Zig Hello World compiles to 45 KBytes. Both are in the same ballpark. The vanilla C Hello World on the other hand comes out at around 4 KBytes (with the caveat that the compiler is free to replace a non-formatting printf with a direct puts call).
Re:C# now beats Rust on WASM size by zachsaw on Monday October 26, 2026 @07:32PM (#50252687)
Been keeping an eye on the progress of NetWasm... it looks like recent versions have trimmed it further. It's down to 38 KB with WASI P2.