WebAssembly/gc
View on GitHub ↗ ★ 1,059 WebAssembly archived
Branch of the spec repo scoped to discussion of GC integration in WebAssembly
68 mentions on Hacker News by 57 people: 3 stories, 65 comments · first 2017-04-29 · latest 2026-10-21
20082026
-
Wasm GC does not offer weak refs or finalizers at this point: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Pos...
comment by pwpwp · 2026-10-21 · in C# now beats Rust on WASM size -
…warned in advance that the proposal wouldn't work for .NET, and they moved forward with it anyway: https://github.com/WebAssembly/gc/issues/77 They were also warned about Go (though I'm not sure if they ever actually consulted with golang…
comment by wasmperson · 2026-08-10 · in Windows 11's built-in Weather app wastes more than 1 GB of RAM -
Links to discussions about why WASM GC in its current state is not suitable for .NET: https://github.com/WebAssembly/gc/issues/77 What should be improved: https://github.com/dotnet/runtime/issues/94420
comment by jaen · 2026-07-25 · in GC and Exceptions in Wasmtime -
…But without fixing this Wasm ecosystem issue, compiling Go to Wasm will never be a real thing. https://github.com/WebAssembly/gc/issues/59
comment by pjjpo · 2026-04-05 · in Go on Embedded Systems and WebAssembly -
…GC. Go can't use WasmGC because it lacks support for interior pointers and unboxed heap primitives: https://github.com/WebAssembly/gc/issues/59 So you'll never get Go Wasm binary sizes down to something reasonable, alas.
comment by wffurr · 2025-11-08 · in Local First Htmx -
…remarks when WasmGC was being designed [1]. [0] https://github.com/dotnet/runtime/issues/94420 [1] https://github.com/WebAssembly/gc/issues/77
comment by Kwpolska · 2025-10-05 · in What .NET 10 GC changes mean for developers -
C# cannot be compiled to WASM GC yet: https://github.com/WebAssembly/gc/issues/77 .
comment by afdbcreid · 2025-09-17 · in WASM 3.0 Completed -
…think the GC in this version has the features required to enable a C# runtime on top of it yet: https://github.com/WebAssembly/gc/issues/77 I wonder what language this GC can actually be used for at this stage?
comment by jasonthorsness · 2025-09-17 · in WASM 3.0 Completed -
I can't find the actual decision, but there was some discussion here: https://github.com/WebAssembly/gc/issues/77 Microsoft later in 2023 said that that discussion "is the current state we are in. We will keep eye on wasm GC in the…
comment by chris_pie · 2025-05-17 · in Popcorn: Run Elixir in WASM -
Here's the issue which gives an overview of the problems: https://github.com/WebAssembly/gc/issues/77 Further discussion can be found here: https://github.com/dotnet/runtime/issues/94420 Turning off destructors will not help even a little…
comment by neonsunset · 2025-02-25 · in Ask HN: A retrofitted C dialect? -
…long way for general usage. [1] https://github.com/WebAssembly/component-model/blob/5a34794d... [2] https://github.com/WebAssembly/gc [3] https://github.com/bytecodealliance/wasmtime/blob/ba8131c6bf... [4]…
comment by no_circuit · 2024-11-13 · in Spin 3.0 – open-source tooling for building and running WASM apps -
…At a lower level the overview in the WasmGC github repo is very good: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove...
comment by azakai · 2024-06-27 · in Google Sheets ported its calculation worker from JavaScript to WasmGC -
….NET allowing references to fields among other issues. So I doubt that we will see integration soon https://github.com/WebAssembly/gc/issues/77
comment by legulere · 2023-11-21 · in .NET Blazor -
…and loaded by another WASM assembly) would be more useful, despite the pain it would create. [0] - https://github.com/WebAssembly/gc/issues/77
comment by to11mtm · 2023-11-03 · in Bringing garbage collected programming languages efficiently to WebAssembly -
…are plans to add features like interior pointers to WasmGC, that could allow a lot more eventually: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Pos...
comment by azakai · 2023-11-03 · in Bringing garbage collected programming languages efficiently to WebAssembly -
The WASM-GC support is intentionally kept as simple as possible, see https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP... . Building a "universal" or "generic" VM supporting many languages on an equally seamless basis is…
comment by zozbot234 · 2023-11-03 · in Bringing garbage collected programming languages efficiently to WebAssembly -
…Atm interior pointers are not supported at all, for example, but they are on the roadmap for later: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Pos... What launched now is enough WasmGC to support a big and useful set of…
comment by azakai · 2023-11-02 · in WasmGC – Run GC languages such as Kotlin, Java in Chrome browser -
GC proposal is from 2018: https://github.com/WebAssembly/proposals/issues/16 and there’s code: https://github.com/WebAssembly/gc/blob/master/proposals/gc/O... Seems like an awefully long time for progress to be made, given all the…
comment by andsoitis · 2023-09-06 · in Learn WebAssembly by writing small programs -
…And GC for WASM is due to hit pretty soon. I'm looking forward to the revival of Applets :D [1] https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP...
comment by cogman10 · 2023-08-17 · in Dart 3.1 and a retrospective on functional style programming in Dart -
…performance overhead of bridging to JS is low enough that WASM frameworks can beat out React. 0: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove...
comment by K0nserv · 2023-06-12 · in Douglas Crockford on JavaScript -
…heap allocations and tracked directly by the WASM VM (I may be wrong though, but details are here: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove... )
comment by flohofwoe · 2023-03-21 · in A world to win: WebAssembly for the rest of us -
…like Go, C# and Java should start to become competitive with javascript as frontend web languages. https://github.com/WebAssembly/gc
comment by josephg · 2023-03-21 · in A world to win: WebAssembly for the rest of us -
It seems this is the current doc about the GC: https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP... Looking at the "instructions" section... is it going to be slow again, bringing back the speed of interpreted code to the WASM?
comment by acqq · 2023-03-20 · in A world to win: WebAssembly for the rest of us -
▲ 5
GC Extension for WebAssemblystory by todsacerdoti · 2023-03-11 · 1 comment
-
…wasm host manage collect the garbage for you in terms of "struct" and "array" (you can check out https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove... )
comment by Existenceblinks · 2023-02-13 · in Ask HN: What Happened to Elm? -
I assume that's one of the parts of the work done at https://github.com/WebAssembly/gc - not happening any soon yet, but it'll eventually be done.
comment by phoe-krk · 2023-01-21 · in Kernel-WASM: Sandboxed kernel mode WebAssembly runtime for Linux -
…to be missing, for example one to the draft GC spec for WebAssembly (which should probably link to https://github.com/WebAssembly/gc ).
comment by lifthrasiir · 2022-12-23 · in WebAssembly for the Java Geek -
…modules and runtimes to properly manage memory usage. [1] https://stackoverflow.com/a/51544868 [2] https://github.com/WebAssembly/gc
comment by angelmm · 2022-12-21 · in WebAssembly: Docker Without Containers -
…it's uncertain if language runtimes like Go will actually make use of the feature, or what. [0]: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove... [1]: https://github.com/WebAssembly/proposals A glance of the overview and…
comment by TUSF · 2022-12-02 · in Extism: Make all software programmable with WebAssembly -
…handles to DOM or JS objects from WebAssembly and using the JS GC for WebAssembly objects. [0]: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove...
comment by wffurr · 2022-07-14 · in Is WebAssembly magic performance pixie dust? (2021) -
…://github.com/WebAssembly/meetings/blob/main/process/ph... [3]: https://webassembly.org/roadmap/ [4]: https://github.com/WebAssembly/gc
comment by adrianfcole · 2022-05-17 · in Wazero: The zero dependency WebAssembly runtime for Go developers -
…https://github.com/WebAssembly/meetings/blob/main/process/ph... Here's the proposal: https://github.com/WebAssembly/gc And you can see it's being actively worked on: https://github.com/WebAssembly/gc/commits/main
comment by richdougherty · 2022-04-19 · in WebAssembly 2.0 First Working Draft -
…GC support because garbage collectors in WASM code are quite slow. There's a proposal in the works: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove...
comment by cyber_kinetist · 2022-03-16 · in Ask HN: What's the Deal with HN and Rust? -
▲ 3
Proposal to add garbage collection to WebAssemblystory by bpierre · 2022-02-15 · 0 comments
-
▲ 2
Ask HN: Why is WebAssembly friendlier with system languages?story by krptos · 2022-02-04 · 1 comment
-
…are finding it difficult to reach consensus [0]. It might be a while before it becomes useful. [0] https://github.com/WebAssembly/gc/issues/254
comment by Jasper_ · 2022-02-01 · in Pay attention to WebAssembly -
…the competition was more cordial, or at least, more professional. [0] see the issues in this repo https://github.com/WebAssembly/gc [1] https://wasmer.io/wasmer-vs-wasmtime - makes outlandish claims and uses benchmarks without clearly…
comment by nextaccountic · 2021-09-19 · in WAGI: WebAssembly Gateway Interface -
…tooling for integration with JS, but Go may catch up when the wasm-gc proposal gets standardized: https://github.com/WebAssembly/gc
comment by rewq4321 · 2021-08-22 · in Ash HN: Go or Rust for JavaScript developer in the next 20 years? -
…ps://github.com/WebAssembly/exception-handling - https://github.com/WebAssembly/function-references - https://github.com/WebAssembly/gc Though it is true that the original MVP was very barebone and could be compared to assembler. However,…
comment by emteycz · 2021-05-21 · in WebContainers: Run Node.js natively in the browser -
It's a spec proposal. https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...
comment by sound_and_form · 2021-04-25 · in Wasm3 compiles itself (using LLVM/Clang compiled to WASM) -
https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...
comment by __s · 2020-12-19 · in How Shopify Uses WebAssembly Outside of the Browser -
…Interestingly they plan to depend on the wasm GC proposal instead of bundling their own: https://github.com/WebAssembly/gc/ So, things are improving on this front. But it's a big reason why Rust is particularly popular for wasm right now…
comment by jillesvangurp · 2020-07-09 · in Moving from TypeScript to Rust / WebAssembly -
…[2] https://bucklescript.github.io/ [3] https://www.purescript.org/ [4] https://elm-lang.org/ [5] https://github.com/WebAssembly/gc/issues/44#issuecomment-623... [6] https://stackoverflow.com/questions/42628328/wasm-access-dom
comment by xvilka · 2020-05-16 · in The Great CoffeeScript to Typescript Migration of 2017 -
…like finalizers or weak references aren't even under consideration for the initial version: https://github.com/WebAssembly/gc/blob/master/proposals/gc/O... > My point is merely that the prospect of a glorious execution model that unifies…
comment by Rusky · 2020-03-27 · in Firefox's low-latency WebAssembly compiler -
You might find these interesting: - https://github.com/WebAssembly/gc - https://github.com/WebAssembly/reference-types - https://github.com/WebAssembly/funclets As for the eval thing, you surely can compile and execute code on the fly.…
comment by TomMarius · 2019-11-21 · in Multi-Value All the Wasm -
What you're describing will indeed be introduced with the WebAssembly GC proposal: https://github.com/WebAssembly/gc For languages that can express unforgeable pointers as first-class concept, that is indeed a very attractive, fine-grained…
comment by tschneidereit · 2019-11-12 · in The Bytecode Alliance: Building a secure, composable future for WebAssembly -
…to implement, either. [0.1]: https://github.com/WebAssembly/tail-call/blob/master/proposa... [0.2]: https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...
comment by yellowapple · 2019-08-22 · in WebAssembly Interface Types: Interoperate with All the Things -
…major thing missing for running Java and many other languages on WASM would be garbage collection. https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...
comment by richdougherty · 2019-08-21 · in AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries -
An optional GC is being added: https://github.com/WebAssembly/gc/blob/master/proposals/gc/O... (Emphasis on optional)
comment by snek · 2019-06-01 · in WebAssembly on the Server: How System Calls Work