What HN thinks
Commenters debate whether WebAssembly's S-expression syntax (WAT) is adequate or if a more readable, Rust-like syntax like Wax is needed for human authorship and tooling.
Split opinion Based on 20 of 43 sampled comments that took a side (44 in the thread).
-
WAT's S-expression syntax is fine or preferable 40%
WAT is a simple, readable IR designed for compiler writers and debugging; alternative syntaxes are unnecessary or add complexity without solving real problems.
“It's a simple lisp that most high schoolers who have taken basic programming can read it without issue.” — Onavo
8 comments
-
A Rust-like, user-friendly syntax is beneficial 40%
WAT is not meant to be human-authored; a more familiar syntax improves readability, learning, and AI-assisted code generation.
“I never stopped being annoyed by the question of who came up with that terrible parentheses syntax.” — julesrms
8 comments
-
Skeptical of the need for user-friendly syntax 20%
The premise of making WASM text more user-friendly is misguided or redundant given existing tools and the nature of WebAssembly as a compilation target.
“Who the hell needs user-friendly syntax anymore? Sorry, but, ...” — deklesen
4 comments