Let me introduce to you Joel Yliluoma also known to the Internet as Bisqwit.
Joel showed how to write a NES (Nintendo Entertainment System) emulator in realtime on Youtube.
From his channel:
As far as I know, Joel writes his own tools for presentation. It is something like Tool Assisted Speedrun (TAS) not for beating games, but for writing software.
That makes it even more awesome!