from Hacker News

RBoy: A Gameboy Emulator in Rust

by NiklasBegley on 9/24/21, 5:46 AM with 57 comments

  • by thristian on 9/24/21, 7:20 AM

    See also https://github.com/Gekkio/mooneye-gb which is more famous for its exhaustive test suite than its emulation accuracy.
  • by Aissen on 9/24/21, 9:06 AM

    I had a quick look at the big match expressions, and this does not look like this project has been through cargo fmt (it would add +2000 lines of code for the whole project). Which is probably a good choice, but as someone who's been looking at this, I wonder if the tradeoffs made in rustfmt are the right ones (note: I have no idea how I would make this better for the general case).
  • by lbj on 9/24/21, 10:10 AM

    Rust really shines on this kind of job. Code is clean, simple and modulated.

    Where do I find games to test this out?

  • by percentcer on 9/24/21, 6:22 PM

    I'm working on one too! Just got to the milestone of being able to scroll the Nintendo® logo. I refer to rboy a lot, it's been helpful to see another implementation.

    https://github.com/percentcer/cerboy

  • by mlang23 on 9/24/21, 7:29 AM

    A rust port for the gameboy, that would have been impressive...