« Calendar @ Planet Ruby

Ruby 3x3 - Ruby 3 Will Be 3 Times Faster - What’s News?

Q: What’s 3x3?

3x3 => Ruby 3 will be 3 times faster in 2020

Ruby 3 - the next major update of ruby (planed for 2020) will be 3 times (3x) faster than Ruby 2.

Note: The baseline for Ruby3x3 is 2.0 so all the improvements in 2.x will count toward the 3x goal.

Q: What’s OptCarrot? :octocat:

A Nintendo Entertainment System (NES) emulator written in Ruby - running with 60 frames per seconds (fps) in Ruby 3 in 2020

An “enjoyable” benchmark for rubies to drive “Ruby 3x3: Ruby 3 will be 3 times faster”.

The benchmark is a Nintendo Entertainment System (NES) emulator that works at 20 frames per seconds (fps) in Ruby 2.0. An original NES works at 60 fps. If Ruby 3x3 succeeds, we can enjoy NES games with ruby!

NOTE: We do not aim to create a practical NES emulator. There are many great emulators available today. We recommend using another emulator if you want to play a game.

Benchmark example

See Rubies Benchmark with Optcarrot for the measurement condition and some more charts.

Major News

See the #Ruby3x3 hashtag on twitter for the latest Ruby 3x3 news bytes.

Articles

An awesome collection about ruby 3x3 news, benchmarks and more:

Ruby 3×3 @ Planet Ruby
What's Ruby 3×3? What's Optcarrot?
Ruby 3×3 Benchmark Results for Benchmark Driver (Experimental)
incl. Ruby Core, Ruby Method, Method JIT (MJIT), and Optcarrot Benchmarks
Slides (PDF) - The State of / All About Guilds - A New Concurrency Model for Ruby 3
by Koichi Sasada, Cookpad, April 2018, Talk @ RubyElixirConf Taiwan
Slides - Method JIT (Just-In-Time) Compiler for MRI (Matz's Ruby Interpreter) - Optimizations in Ruby 2.6 Preview 1, 2
by Takashi Kokubun, Treasure Data, April 2018, Talk @ RubyElixirConf Taiwan
Benchmark Driver Designed for Ruby 3×3
by Takashi Kokubun, Treasure Data, March 2018
Towards The Ruby 3×3 Performance Goal
by Vladimir Makarov, Red Hat, March 2018
Ruby 2.6 Preview 1: Timing JIT
by Noah Gibbs, Appfolio, March 2018
TruffleRuby Native: Fast Even for Short Scripts
by Benoit Daloze, Oracle Labs @ Johannes Kepler University, Feb 2018
The Method JIT (MJIT) Compiler for Ruby 2.6
by Takashi Kokubun, Treasure Data, Feb 2018
Ruby's New JIT (Just-In-Time) Compiler
by Shannon Skipper, Square, Feb 2018
Slides - VM-Generated JIT (Just-In-Time) Compiler for Ruby 2.6
by Takashi Kokubun, Treasure Data, Feb 2018, Tech Talk @ Treasure Data Open Source Software (OSS) Day
Playing with Ruby's new JIT: MJIT
by John Hawthorn, Feb 2018
MJIT Infrastructure Accepted into Ruby 2.6
JIT worker thread, profiler, gcc/clang compiler support, loading function from shared object file, some hooks to ensure; Dec 2017
Ruby 3 and JIT: Where, When and How Fast?
by Noah Gibbs, Appfolio, Dec 2017
How's Progress on Ruby 3×3?
by Noah Gibbs, Appfolio, Dec 2017
Slides - Just-In-Time (JIT) Compiler for MRI (Matz's Ruby Interpreter)
by Takashi Kokubun, Treasure Data, Nov 2017, Talk @ RubyConf 2017
Towards Ruby 3×3 Performance - Introducing RTL and MJIT
by Vladimir Makarov, Red Hat, Sept 2017, Talk @ RubyKaigi 2017 on Register Transfer Language (RTL) and Method JIT (MJIT)
OptCarrot: An Excellent CPU Benchmark for Ruby 3×3
by Noah Gibbs, Appfolio, Sept 2017
Running Optcarrot, a Ruby NES emulator, at 150 fps with the GUI!
by Benoit Daloze, Oracle Labs @ Johannes Kepler University, Nov 2016
Ruby 3×3: Q&A w/ Matz, Koichi, and Tenderlove
On the guild proposal, just-in-time (JIT) compilation the future of ruby performance by Jonan Scheffler, Heroku, Nov 2016
Latest #Ruby3×3 News Bytes
Official Twitter Ruby 3×3 Hashtag
Add your ruby 3x3 news byte »

From the Calendar @ Planet Ruby.
Fork me on GitHub