Post
For many nodes, we know how many children there will be, so we can allocate the correct amount of space directly in the parent node. This is conceptually simple, and cache-friendly too. 3/x
0 reposts2 likes
Oh and of course…if this kind of madness seems appealing to you, you should definitely check out our book, WebAssembly from the Ground Up. The macroassembler shown above is based on the library we construct in the book.
wasmgroundup.comWebAssembly from the Ground UpA book about WebAssembly — learn Wasm by building a simple compiler in JavaScript.