Huff is a new language that compiles to EVM bytecode. It’s like writing blockchain assembly, but with a few more features. I’m learning Huff to better understand the EVM and how to write MEV bots.
Initial Thoughts
- It’s like writing raw opcodes, this is pretty fun.
- The tooling seems good enough for now.
- The Seaport method of returning strings took me about 3 days to start to understand.
- By going through the Huff Puzzles, I’m starting to get a better understanding of EVM overall. It has given me a greater appreciation for it.
Note
Huff isn’t for everyone. Admittedly, it’s a bit of a niche language for those who need to save gas on the EVM. It’s not a language I’d recommend for beginners. I’m putting it down for now.