Remix.run Logo
▲ masklinn a day ago

As the essay notes, wat was mostly designed as a pretty printer, not necessarily a pretty one but one which would be clear to the compiler writer, such that they could cross-check and debug their codegen.

▲julesrms 7 hours ago | parent [-]

Sure, but I was that compiler writer, and it was a PITA to read!

My point is just that they could easily have chosen a more compact, readable format, and the extra effort that would have taken would have been really small, especially when you think just how widely used it was going to be.