Hacker GitHub

← All repos

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

Mentions per year 68 mentions · busiest year 2023 (14)
20082026
  1. 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
  2. …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…
  3. 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
  4. …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
  5. …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
  6. …remarks when WasmGC was being designed [1]. [0] https://github.com/dotnet/runtime/issues/94420 [1] https://github.com/WebAssembly/gc/issues/77
  7. 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
  8. …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
  9. 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
  10. with the wasm-gc proposal you get access to structs and arrays: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove... with the component model's wit you get higher level types like enums, option, result and generics:…
    comment by marianoguerra · 2025-05-09 · in WASM 2.0
  11. 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?
  12. …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]…
  13. …At a lower level the overview in the WasmGC github repo is very good: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove...
  14. ….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
  15. …and loaded by another WASM assembly) would be more useful, despite the pain it would create. [0] - https://github.com/WebAssembly/gc/issues/77
  16. …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...
  17. 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…
  18. …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…
  19. 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
  20. …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...
  21. …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
  22. …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... )
  23. …like Go, C# and Java should start to become competitive with javascript as frontend web languages. https://github.com/WebAssembly/gc
  24. 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?
  25. ▲ 5
    GC Extension for WebAssembly
    story by todsacerdoti · 2023-03-11 · 1 comment
  26. …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?
  27. 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.
  28. …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
  29. …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
  30. …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…
  31. …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...
  32. …://github.com/WebAssembly/meetings/blob/main/process/ph... [3]: https://webassembly.org/roadmap/ [4]: https://github.com/WebAssembly/gc
  33. …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
  34. …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?
  35. ▲ 3
    Proposal to add garbage collection to WebAssembly
    story by bpierre · 2022-02-15 · 0 comments
  36. ▲ 2
    Ask HN: Why is WebAssembly friendlier with system languages?
    story by krptos · 2022-02-04 · 1 comment
  37. …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
  38. …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
  39. …tooling for integration with JS, but Go may catch up when the wasm-gc proposal gets standardized: https://github.com/WebAssembly/gc
  40. …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,…
  41. It's a spec proposal. https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...
  42. https://github.com/WebAssembly/gc/blob/master/proposals/gc/O...
  43. …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
  44. …[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
  45. …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…
  46. 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
  47. 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…
  48. …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...
  49. …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...
  50. An optional GC is being added: https://github.com/WebAssembly/gc/blob/master/proposals/gc/O... (Emphasis on optional)