Hacker News new | ask | show | jobs
by molticrystal 1335 days ago
Those who enjoy this might also enjoy "Creating a NES emulator in C++11" [0] [1] [2] while not short in bytes of code(space) there is a nice video series short in minutes(time).

Bisqwit takes you on a 30 minute tool assisted coding journey of making an NES emulator and also provides a 15 minute followup Q&A video explaining different aspects.

[0] https://www.youtube.com/watch?v=y71lli8MS8s

[1] http://youtu.be/XZWw745wPXY

[2] http://youtu.be/QIUVSD3yqqE

2 comments

Bisqwit's nesemu1 source is 940 lines at https://bisqwit.iki.fi/jutut/kuvat/programming_examples/nese... It also uses SDL.

NES emulation is a great low level programming project and the tradition will probably continue for some time.

To save you a click, the video is someone speed-typing the source code to an emulator, with no commentary or explanation. You'd probably be better off reading the final result yourself.
> with no commentary or explanation.

Enable subtitles/closed captioning to see additional commentary provided by him about what is happening.

>the video is someone speed-typing the source code

They are not actually typing it at all, from the faq https://bisqwit.iki.fi/jutut/kuvat/programming_examples/nese...

  Q) Is the video sped up? Or, is that your real typing speed?
  A) No, it's not sped up. But the input is pre-choreographed. The computer
     implements the choreography, as well as designs a part of it.
     It is a TAS, except I'm not speedrunning; I'm just aiming for
     15 minutes and to utilize it in the most entertaining manner.
     My typing speed is not the focus of that video; it is not even
     being presented except in a small part of the 2/2 video.
     The focus is in the source code.
He actually wrote his own editor that he uses in the video and I believe that assists with the choreography.
Yes, my point wasn't at all about the speed. You can replace "speed-typing" with "displaying at a speed too high to read, much less think about".