News for hackers. Stuff that matters.
Re:Wazero: The zero dependency WebAssembly runtime for Go de... by kaba0 on Tuesday May 17, 2022 @09:12AM (#31410021)
Go has a runtime that has to be included, with GC running alongside the app. So no, it is not at all a good fit for Wasm, until the latter’s GC proposal gets finalized.
Re:Wazero: The zero dependency WebAssembly runtime for Go de... by adrianfcole on Tuesday May 17, 2022 @11:07AM (#31411828)
(wazero maintainer) we have a popular allocation example, which shows how GC ends up embedded (really malloc/free) in wasm produced by Rust or TinyGo. You are right that whatever produces wasm, if needs to allocate memory, is doing that by embedding some implementation into the wasm (during compilation).

[1] https://github.com/tetratelabs/wazero/tree/main/examples/all...