from Hacker News

Running Optcarrot, a Ruby NES Emulator, at 150 Fps with the GUI

by eregon on 11/28/16, 4:17 PM with 11 comments

  • by Retr0spectrum on 11/29/16, 2:33 AM

    I was intrigued by the method of piping pixel values to MPlayer as a frontend. I'll definitely be using that in future projects.

    It makes use of this video format, which seems almost like a video equivalent of the PNM image format: https://wiki.multimedia.cx/index.php?title=YUV4MPEG2

    I wish there was something similar that used RGB though.

  • by kayamon on 11/29/16, 5:35 AM

    While it's interesting how you can accelerate Ruby, 150 fps is still _awful_ for a NES emulator on modern platforms.

    It kinda shows how bad Ruby's performance is compared to most other languages.

  • by tbrock on 11/28/16, 8:59 PM

    How does truffle enhance JRuby to create such a dramatic performance improvement?
  • by claudiug on 11/28/16, 6:52 PM

    can we predict that jruby+truffle, will be usable for ruby gems in the next few years?