This problem is how you spot people that have tried to do it vs those that just talk about it. Everyone ends up with batching calls back and forth because the cost is so high.
Separately the conceptual mismatch when the js has to allocate/deallocate things on the wasm side is also tedious to deal with.
Separately the conceptual mismatch when the js has to allocate/deallocate things on the wasm side is also tedious to deal with.