I have also implemented this exercise in rust although the one posted here is much cleaner in terms of code.
In fact I was even trying to reimplement the hack cpu emulator provided in the course using rust and tui-rs. The main hurdle now is how I can emulate a 512x256 screen in the terminal.