| ▲ | weinzierl 3 hours ago | |||||||||||||||||||||||||||||||||||||
This is s bit of an unfair comparison, isn't it? Since WASM ships with a garbage collector that C# can use while Rust does all the memory management itself, of course it will be bigger. EDIT: Reading OP more thoroughly I think I'm wrong. Apparently in the compared versions, the C# version ships a runtime with garbage collector. | ||||||||||||||||||||||||||||||||||||||
| ▲ | afdbcreid 3 hours ago | parent [-] | |||||||||||||||||||||||||||||||||||||
C# doesn't (and can't) use WASM GC. The comparison is unfair for other reasons (the C# runtime was optimized for WASM size and the Rust not, it's possible to be much smaller in Rust), but it's still cool. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||