by hcm · 1y ago · 0 comments
A big part of the joy came from making up my own extra credit side quests: implementing a compile-to-WASM emulator for the hack machine, adding optimisations to the compiler to produce smaller and/or faster programs, etc.
It's orders of magnitude faster than my naive hand-written emulator.