GeistHaus
log in ยท sign up

Writing WebAssembly By Hand

blog.scottlogic.com

WebAssembly is a new language for the web, although unlike JavaScript it's not a language you are expected to use directly. However, it is actually possible to write WebAssembly directly by hand and it turns out this is an educational and enjoyable process, which I will explore in this blog post.

7 pages link to this URL
Preprocessor Definitions in WebAssembly

When hand-writing WebAssembly it can get problematic to refer to particular constants by their value instead of being able to put a name to them. I put together a simple preprocessor to allow for constants to be handled by name, and in this article I look at how the preprocessor works with the WebAssembly Text format.

0 inbound links article en