Pure WASM Life 2: Optimizing WebAssembly and Canvas

In this post, the author continues their Webassembly Game of Life series and focuses on optimizing the implementation to make it faster. They mention improvements such as bitpacking the board and switching to WebGL for drawing. The author shows off the new board, which is able to simulate and draw nine times as many cells without a noticeable difference in performance. They provide a table that displays the average time each version took on their Macbook. The author explains the changes they made to the drawing code using WebGL and the optimizations they made to the Webassembly code. They also mention the challenges of performance testing in a JIT-executed language like JavaScript. There is no controversial or surprising information in this content.

https://ashen.earth/wasm-game-of-life-2

To top