<Reverse Engineering a 218-Byte Wasm Compiler in J...
# share-your-work
m

Reverse Engineering a 218-Byte Wasm Compiler in JavaScript

Starting with a 218-byte one-liner that implements a Reverse Polish Notation arithmetic compiler, we'll work backward to transform it into readable JS by removing one code golf trick at a time
m
Very interesting indeed! Did you also write this up in a blog post somewhere? Or is it only available in your webassembly book? (I am going to buy it 😀)
m
@Maikel will make a blog post out of it soon 🙂
g
I am happy to see that this was posted to HN, also. https://news.ycombinator.com/item?id=42216463
m
and got no votes 😛
g
https://www.quora.com/Where-is-the-best-place-to-buy-upvotes-for-Hacker-News ... I'm still looking for an 'upvote' button and haven't figured out how to upvote a post...
m
2024-11-23_14-26.png
g
strange: Sector lisp 436 bytes - 513 votes. 218 byte WASM compiler - 2 votes. Is it timing? Something more?
m
if it doesn't get a few votes in the first minutes then all hope is lost