WebAssembly GC Now Default in Chrome

Chrome has enabled WebAssembly Garbage Collection (WASMGC) by default, a major milestone for running memory-managed languages like C#, Java, and Kotlin efficiently in the browser. This removes a key friction point for writing high-performance WASM modules, lowering the barrier for building complex, near-native tools. Data from the CrUX report shows WASM is already providing measurable performance gains on major sites.

The move to enable WebAssembly Garbage Collection (WasmGC) by default in Chrome 119 is a foundational shift. Previously, managed languages like Java or Kotlin had to bundle their own garbage collector into the compiled Wasm module, creating unnecessary bloat because the V8 engine already has a capable GC. WasmGC allows these languages to target a GC provided by the host VM, leading to smaller binaries and more efficient memory management. This isn't just a theoretical improvement. In a Fannkuch benchmark test, a Java version compiled with WasmGC was only 2.3 KB, whereas C and Rust versions, which bundle memory management functions, were between 6.1 KB and 9.6 KB. By integrating with the browser's existing garbage collector, WasmGC avoids the overhead and potential conflicts of running two separate memory management systems. This allows for proper, efficient collection of cyclic references between Wasm and JavaScript objects for the first time. The ecosystem is moving quickly to adopt this. JetBrains is actively developing Kotlin/Wasm, which powers Compose Multiplatform for Web, now in Beta, allowing developers to share UIs across mobile, desktop, and web. Frameworks like Blazor for .NET are also leveraging Wasm, using ahead-of-time (AOT) compilation to compile C# directly into WebAssembly for significant runtime performance gains in CPU-intensive applications. Similarly, multiple projects like TeaVM and JWebAssembly are enabling Java compilation to Wasm. For engineering managers, the key takeaway is that Wasm is maturing into a universal deployment layer. Its sandboxed execution environment provides security benefits, while the performance approaches near-native speed, making it ideal for computationally heavy tasks previously impractical for the web, such as 3D rendering, video editing, and complex data analysis. This expands the talent pool and codebase that can be leveraged for high-performance web applications. The rise of powerful tools like WasmGC also intersects with the increasing use of AI in development workflows. AI assistants are already capable of generating component boilerplate, suggesting refactors, automating test creation, and even reviewing pull requests to enforce coding standards. As a manager, fostering an environment where the team can strategically integrate these AI tools for low-risk, high-leverage tasks—like test generation or documentation—can free up significant engineering time for more complex architectural decisions. This transition mirrors the shift from individual contributor to manager: the focus moves from writing code to architecting systems and empowering the team. Maintaining technical credibility is less about daily coding and more about understanding the implications of architectural choices, like when to adopt a technology such as Wasm. It requires dedicating time to continuous learning to guide technical roadmaps and mentor engineers effectively, ensuring the team is building robust, scalable, and performant libraries.

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.