Crossing the boundry between host and WebAssembly program is cumbersome, but with it can come great performance. It's important to remind ourselves that WebAssembly is a low -level executable byte code with concerns about memory structures that are much fine-grained than JavaScript. Check out your programming language's library support for tools that help make this an easier task!
In our next chapter we will talk about a technique for dynamically calling JavaScript functions and garbage collection!