Rewrite beginning

post/wasm-gol-2
Ashelyn Dawn 1 year ago
parent a9bebbf32a
commit 07e3f59162

@ -6,19 +6,20 @@ wasm: wasm-life-1/game.wat
---
Lately in doing research on WebAssembly I've been looking around for examples
of things implemented in it, and I've come across several blog posts based on
the fantastic *Rust And WebAssembly* tutorial for
[Conway's Game of Life](https://rustwasm.github.io/docs/book/game-of-life/introduction.html).
of things implemented in it. In this search I've come across several blog
posts that claim to be Conway's Game of Life in WebAssembly, but upon opening them,
I find they are actually just Rust!
And I mean no shade towards the folks who wrote those, but I feel it's mildly
disingenuous to say that those are "Conway's Game of Life in WebAssembly" when
the actual game code was written entirely in Rust. In those sorts of projects
WebAssembly is really no more than a compilation target, not actually the
language used!
Now I mean no shade towards Rust or those posts (and if that's what you're
curious about doing, I recommend the fantastic [Conway's Game of Life](https://rustwasm.github.io/docs/book/game-of-life/introduction.html)
guide from *Rust and WebAssembly*) but around here I take pride in being
accurate to the point of pedantry. Rust is very much not WebAssembly, and
despite how much we front-end developers may get them conflated in our heads,
this feels like a distinction worth making!
So of course I knew what I had to do . . .
Welcome to Conway's Game of Life, *actually implemented* in WebAssembly:
Welcome to Conway's Game of Life, ***actually implemented in WebAssembly:***
<noscript>[If you enable Javascript, you'll see a game board here]</noscript>
<canvas

Loading…
Cancel
Save