WebAssembly / gc

Branch of the spec repo scoped to discussion of GC integration in WebAssembly
https://webassembly.github.io/gc/
Other
982 stars 70 forks source link

How to reinterpret `(array f32)` to `(array u8)`? #528

Closed oovm closed 5 months ago

oovm commented 6 months ago

Can I convert an (array f32) to an (array u8) without copying?

rossberg commented 6 months ago

Not at the moment. We have considered reinterpret casts on arrays, or alternatively, generalised load instructions like for memory, but left that for post-MVP.