top | item 43937483

(no title)

marianoguerra | 9 months ago

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: https://component-model.bytecodealliance.org/design/wit.html

discuss

order

mamidon|9 months ago

It's more accurate to say those do the boilerplate of memory access necessary for complex types for you. You're still basically limited to integers and floats.

But when you think about it, isn't that basically true for native languages?

singularity2001|9 months ago

no you don't , these types are unfortunately opaque only internally usable.