4 ms·
> Anyway, iirc WasmGC wants very rigid types without dynamic type changes. You can have dynamic type changes in the current WasmGC MVP, but they are modeled as
by zozbot234 1y ago
> Anyway, iirc WasmGC wants very rigid types without dynamic type changes.
You can have dynamic type changes in the current WasmGC MVP, but they are modeled as explicit downcasts from a supertype of some sort. There's not even any express support for tagged unions, structs and downcasting is all you get at the moment.