NetWasm 0.10 Optimizations Push C# Performance Past Mono AOT on WebAssembly
The NetWasm project has released its 0.10 optimization updates, surpassing Mono AOT performance across various benchmarks.
🧠AI AnalysisPhoto: infoq.com
Key points
- NetWasm 0.10 updates span releases 0.10.1 through 0.10.8, focusing on exception handling, SIMD, and division optimizations.
- The runtime compiled C# programs ahead of time into standalone WebAssembly files, outperforming Mono AOT in project benchmarks.
- Tests conducted on an Apple M1 Max showed competitive speeds, though desktop .NET still outperforms Wasm on direct host SIMD tasks.
The development team behind NetWasm has detailed its recent performance optimization cycle spanning releases 0.10.1 through 0.10.8. NetWasm operates as a compiler and runtime that translates C# programs ahead of time into standalone WebAssembly files utilizing a ported CoreLib from .NET. According to the project's internal benchmarks, the software now outperforms Mono AOT and nears standard desktop .NET performance on select workloads.
Key Performance Breakthroughs Across Versions
Initial efficiency gains in version 0.10.1 targeted exception handling, reducing unnecessary register save-and-restore overhead in Wasmtime. Subsequent updates introduced targeted method inlining, array and index check removals, and WebAssembly SIMD integration in version 0.10.7. These changes allowed operations like 128-bit vector instructions and fluid mechanics solvers to process significantly faster than previous iterations. Version 0.10.8 further improved execution times by optimizing division operations and range-checked arithmetic.
In comparative tests run on an Apple M1 Max utilizing Wasmtime 49.0.3, the geometric mean of NetWasmGC execution times reached 0.41 times that of Mono AOT. For instance, a 120-frame render using the C# software renderer DoomSharp dropped to 1,623 milliseconds on NetWasmGC, compared to 2,371 milliseconds for Mono AOT. Despite these milestones, the authors note that desktop .NET remains faster on specific vector benchmarks due to direct host SIMD utilization, and certain workloads continue to exhibit regressions.
What to watch next: Developers can test the new runtime using the online playground or review setup documentation via the official GitHub repository.
Source infoq.com — infoq.com/news/2026/11/NetWasm-0-10-Faster/?utm_campaign=infoq_cont… ↗
Read next
🤖AI ModelsRumours that AI labs can break encryption run ahead of the evidence
A rumour that AI labs have a fast way to factor large numbers has spread, but no break of RSA has been demonstrated.
🤖AI ModelsAI-Assisted Search Points to a Possible Dwarf Planet in the Outer Solar System
A team that used a Claude model in its analysis reports a candidate dwarf planet, roughly 590 km wide, traced through Rubin Observatory data and 2013–2019 archival images…
⚖️Regulation & PolicyICE Expands Surveillance Reach Using Flock Safety Camera Network via Local Police Proxies
US Immigration and Customs Enforcement is increasingly utilizing AI-integrated license plate readers from Flock Safety by routing requests through local police department…
🚀Startups & FundingStartups Showcase Body-Integrated Tech with Smart Lenses and Graphene Bandages
Startups Xpanceo and Grapheal presented next-generation wearable technology at Dubai Future Week, featuring smart contact lenses and graphene-based biosensor bandages des…
🔌Chips & HardwareNvidia CEO Jensen Huang Set for Congressional Hearings on China Ties and Chip Sales
Nvidia CEO Jensen Huang faces a series of closed-door and public congressional hearings this week regarding chip sales and ties to China.
🚀Startups & FundingDating App User Banned After Secretly Recording Dates for AI Analysis
A New York hedge fund manager has been banned from Hinge after using a transcription app and Anthropic's Claude to secretly record and analyze his romantic dates.