I love the URL "wasmgroundup.com" because I think all computing things should be put in a grinder.

And then brewed in hot water.

(Or set ablaze; I'm not here to judge.)

I'm quite given to crumbling the foundations of computing with my fingers. Mincing the metal.

Ever since WASM was announced, I knew I wanted to learn to write it by hand. And thus: I'm beyond excited that there is now a book, written by friends, to help me get my feet wet. (Or burned; not here to judge.)

@spiralganglion Are you aiming to write it at the WAT level or a hex editor? :o

@mauve Both, at least a tiny bit, but I'm especially interested in WAT.

Follow

@spiralganglion Hell yeah. Excited to see what you make with it. Back when WASM was still just coming out after ASM.js I did a deep dive to figure out how to do basic things like loops and if statements with WAT. I hadn't done any ASM before so it was a bit of a mindfuck.

· · Web · 1 · 0 · 1

@mauve @spiralganglion FWIW, WebAssembly from the Ground Up is very byte-level focused. I'm partway through and I can't remember seeing any WAT.

I'm also porting the examples to Haskell. I wanted to get @marianoguerra and/or @dubroy's approval before open sourcing that.

I also thought about mentioning the "ground up" connotation, but 🤷‍♂️🙃

@j3rn @mauve @spiralganglion @marianoguerra That's correct, we don't cover .wat in the book.

That said, the code you emit with the "assember" library we create in the book ends up looking a heck of a lot like wat, with a slightly different structure.

I'd argue that if you complete the book *and* know Lisp/sexps, you basically know wat.

@j3rn
And we'd love to see the example ported to Haskell! The code in the book is MIT-licensed, so in principle you don't need our approval anyways 😉

…but if you're in the Discord, maybe start a discussion in the # share-your-work channel (which I just created)?

We've discussed putting together a list of peoples' languages/ports that people have created based on the book.

@dubroy Sure thing! I'll clean it up and share it after work ☺️

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.