https://futureofcoding.org/ logo
#share-your-work
Title
# share-your-work
m

Mariano Guerra

07/20/2023, 1:26 PM
Some reasons to make WebAssembly from the Ground Up a digital first book: 1. Code highlight on hover 2. Interactive WebAssembly binary module inspector with "hexdump" and outline views 3. Copy code snippets as you go or "Copy up to here" on checkpoints 4. Open checkpoints in Stackblitz, run tests and play with the code 5. An interactive Wasm interpreter with builtin spec instruction reference (GIF in replies, can't attach after creation)
wasm interactive interpreter:
m

Marcelle Rusu (they/them)

07/20/2023, 1:40 PM
Wow this is really cool. How did you define the mapping between the comment & the code in 1?
m

Mariano Guerra

07/20/2023, 1:41 PM
@Marcelle Rusu (they/them) https://codehike.org/
m

Marcelle Rusu (they/them)

07/20/2023, 1:45 PM
Oh so this is parts of your digital book "WebAssembly from the Ground Up" ?
m

Mariano Guerra

07/20/2023, 1:45 PM
all of them are 🙂
m

Marcelle Rusu (they/them)

07/20/2023, 1:45 PM
Very cool, wish all technical books were like this
a

abeyer

07/20/2023, 3:59 PM
So does "digital first" mean not digital only and we can expect an official offline version of some sort? Don't get me wrong, the interactive stuff is cool and well done and was the first thing I looked at when I opened it up... But realistically the second thing I did was figure out how to munge the dom/css/js to make it format nicely to convert to PDF for reading on an offline eink screen. 🤐
n

Nick Main

07/20/2023, 4:31 PM
Seconding that - the only way I can read anything with a narrative flow is to take it to a zero-distraction device or paper.
m

Mariano Guerra

07/20/2023, 4:32 PM
once we have the final version we will try to make a "static" version, if it's still useful we may release it
probably will get a static version out for everyone who bought it to avoid the bus hitting the domain factor 😄
d

Denny Vrandečić

07/20/2023, 5:28 PM
This is really amazing
p

Peter Saxton

07/20/2023, 10:09 PM
I love the interactive interpreter, I first though was I need something like this for my language. But I guess if I choose web assembly as a target then I already have this as an interactive interpreter for my language
2 Views