Google Chrome Developers

WebAssembly Garbage Collection (WasmGC) now enabled by default in Chrome

thumbnail

Google Chrome has announced that WebAssembly Garbage Collection (WasmGC) is now enabled by default. WasmGC allows programming languages that use garbage collection to be compiled to WebAssembly (Wasm) more efficiently. Previously, porting programming languages to run on the Wasm runtime required implementing a garbage collector specific to the language, which was wasteful and led to issues like memory leaks. With WasmGC, the existing garbage collector in the host virtual machine can be used, making the porting process more streamlined. This update opens up new possibilities for porting garbage-collected languages like PHP to the web.