Accessing WebAssembly reference-typed arrays from C++
wingolog.org
wingolog.org
Ideally the array view could either be mapped directly into the WASM heap, or at least would be accessible from the C/C++/Rust side with a special pointer type (maybe WASM should get a segmented address space like back in the 286 days lol).
https://github.com/WebAssembly/multi-memory
> Add a memory index to all memory-related instructions.
> Loads and stores have the memop field, in which we can allocate a bit indicating a memory index immediate in the binary format.
> All other memory instruction already have a memory index immediate (which currently has to be 0).
I can't see much success for the GC proposal, tbh. It's really fighting a very strong current.
Concretely, the wasm community already has GC ports in progress for Java, Dart, and Kotlin, and there is a lot of promise shown there.