I've been incrementally creating increasingly fast emulators for hack.
Started with python which was painfully slow
then python with C bindings
I've now complied the C to WASM and found the HTML5 canvas much much faster:
https://github.com/alexdawn/nand-2-tetris/tree/main/project/web-emulatorOnly works with .hack files at the moment. My very weak notebook is able to emulate hack at 20MHz