Skip to content

Instantly share code, notes, and snippets.

@gabrieljoelc
Last active December 7, 2017 23:40
Show Gist options
  • Save gabrieljoelc/d76b7966aee6bf3bad5e33b48c2598a4 to your computer and use it in GitHub Desktop.
Save gabrieljoelc/d76b7966aee6bf3bad5e33b48c2598a4 to your computer and use it in GitHub Desktop.
OMG! Will it be possible to continue using Ruby but with better performance?!
  1. https://github.com/graalvm/truffleruby/blob/master/doc/user/using-graalvm.md
    1. Download GraalVM from http://www.oracle.com/technetwork/oracle-labs/program-languages/
  2. https://github.com/graalvm/truffleruby/blob/master/doc/user/ruby-managers.md
    1. I used ln -s ~/graalvm-0.30/Home/jre/languages/ruby ~/.rbenv/versions/truffleruby
  3. https://github.com/graalvm/truffleruby/blob/master/doc/user/installing-gems.md
    rbenv shell truffleruby
    gem install bundler --version 1.14.6
    
  4. https://github.com/graalvm/truffleruby/blob/master/doc/user/optcarrot.md
    brew install mplayer
    git clone https://github.com/mame/optcarrot.git
    cd optcarrot
    # this is not working so far
    ~/.rbenv/versions/truffleruby bin/optcarrot --video mplayer --input term examples/Lan_Master.nes
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment