Comment by zamalek
> This would require a little malloc/free implementation and a way to reclaim memory for GC'd bytevectors.
Allocation is always expensive in the hot path. Arenas, pools, etc. are a thing even in C engines for a reason. If it's possible to mix GC and linear, that's ridiculously powerful.
In Scheme what you want to do is allocate a big bytevector and use it over and over. This is what I already do outside of Wasm. I don't want or need linear memory involved, I just want access to my (array i8) from JS.