small medium large xlarge

The latest version of the book is B1.0, released 14 days ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: B1.0 (01-Dec-18)
#84063
PDF page: *

There is no "try and", only "try to" :)

www(dot)blog(dot)givemesomeenglish(dot)com/try-and-vs-try-to/

--Peter Morris

  • Reported in: B1.0 (02-Dec-18)
#84087
PDF page: *

"wasm" should be "Wasm" according to the official specification.--Peter Morris

  • Reported in: B1.0 (01-Dec-18)
#84058
PDF page: viii

"has spurred years of refinining" (should be "refining")--AJ Frantz

  • Reported in: B1.0 (28-Nov-18)
#84021
PDF page: 9

"wast" instead of "wasm", towards the bottom of the page

  • Reported in: B1.0 (01-Dec-18)
#84062
PDF page: 15
"What is WebAssembly NOT?" Switching from positive claim to negative, it doesn't flow well. Rather than trying to mirror "What is WebAssembly" it i...more...
  • Reported in: B1.0 (02-Dec-18)
#84074
PDF page: 19
"In the case of those virtual machines, developers are spared the effort of writing assembly or thinking in postfix (where the operator comes first)...more...
  • Reported in: B1.0 (03-Dec-18)
#84105
PDF page: 20
Slight confusion. On page 20 it states - create checkers.wat file. Page 21 says compile using wat2wasm. Compile as what, checkers.wasm or empty_modul...more...
  • Reported in: B1.0 (01-Dec-18)
#84056
PDF page: 29
checkers/func_test.js console.debug("Black is not white", instance.exports.isWhite(black)); should be console.debug("Black is white", insta...more...
  • Reported in: B1.0 (06-Dec-18)
#84112
PDF page: 30
Directly opening in the browser the file from the filesystem seems to work fine without need for and http server, Firefox 63.0.3, Archlinux.--Nicolas ...more...
  • Reported in: B1.0 (01-Dec-18)
#84073
PDF page: 36
"wast" term appears to be used for the first time without definition or context. Suggest adding some description or orientation to the two WebAssembl...more...
  • Reported in: B1.0 (06-Dec-18)
#84114
PDF page: 36

Why do we have some
if (predicate)
then true
else false--nbrr

  • Reported in: B1.0 (01-Dec-18)
#84070
PDF page: 53
Paper page: 45
"Its genesis moment is when a compiler written in that language is able to compile that language—a compiler inception". I'm not English native spe...more...
  • Reported in: B1.0 (01-Dec-18)
#84064
PDF page: 55
I cannot copy/paste the text "rust uptarget add wasm32-unknown-unknown" - when I do it copies to the clipboard as "rustuptargetadd wasm32-unknown-unk...more...
  • Reported in: B1.0 (01-Dec-18)
#84065
PDF page: 58
Wording is a bit a awkward, the commas look like I am about to see a list of points when in fact it is an interjection: "This allows you to nest mo...more...
  • Reported in: B1.0 (01-Dec-18)
#84066
PDF page: 58
"Since we put mod board in the root module (which is always called lib.rs in a library), the board module is one below the rustycheckers module (the ...more...
  • Reported in: B1.0 (01-Dec-18)
#84067
PDF page: 59
There are no carriage returns in the source code samples, so I cannot copy/paste the source. It ends up looking like this #[derive(Debug, Copy, Clo...more...
  • Reported in: B1.0 (06-Dec-18)
#84119
PDF page: 59

Footnote link is now broken.--Nicolas Barrandon

  • Reported in: B1.0 (01-Dec-18)
#84068
PDF page: 60
Copy/paste the soure also copies the (1) (2) and (3) symbols when reading in PDF. Change layout so the source can be copied to clipboard without these...more...
  • Reported in: B1.0 (01-Dec-18)
#84069
PDF page: 60

x <= 7 && y <= 7

should also check >= 0

x >= 0 && x <= 7 && y >= 0 && y <= 7--Peter Morris

  • Reported in: B1.0 (01-Dec-18)
#84071
PDF page: 60
To Peter Morris: "x <= 7 && y <= 7" in the book is OK. Coordinate structure consists of usizes (which are unsigned), and as such x and y are always...more...
  • Reported in: B1.0 (02-Dec-18)
#84088
PDF page: 63

Missing a final } in the first code sample.--Peter Morris