3 ms·
How does this framework handle Garbage Collection? (WebAssembly has GC support planned for the future but doesn't have it in place yet[0]) [0] https://github.c
by yodon 9y ago
How does this framework handle Garbage Collection? (WebAssembly has GC support planned for the future but doesn't have it in place yet[0])
[0] https://github.com/WebAssembly/design/blob/master/GC.md https://github.com/WebAssembly/design/blob/master/GC.md
- flukus 9y agoI'm guessing it will download a runtime that will include the garbage collector. Soon you can look forward to every page including a runtime, or maybe several depending on which advertising engines they're using.
- yodon 9y agoThe problem is there's been a ton of work on chained garbage collectors, and the frustrating and seemingly non-intuitive result that everyone eventually hits is that you have to collapse down to a single garbage collector to get garbage collection to work reliable. There are just too many edge cases when you have, say, a native browser garbage collector and a separate application garbage collector, with references held between them. That's why mainstream support for C# -> WebAssembly is on hold until WebAssembly exposes native garbage collection support.