Skip to content

A collection of awesome Rubies (compilers, interpreters, virtual machines, parsers, doc generators, version managers, etc.)

License

Notifications You must be signed in to change notification settings

siasmj/awesome-rubies

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

98 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Awesome Series @ Planet Ruby

Rubies

A collection of awesome Rubies (compilers, interpreters, virtual machines, parsers, doc generators, version managers, etc.)

Contributions welcome. Anything missing? Send in a pull request. Thanks.

Note: πŸ’Ž stands for the RubyGems page and :octocat: stands for the GitHub page.

What are Rubies?

3x3 News

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.

Find out more @ Ruby 3x3 - Ruby 3 Will Be 3 Times Faster - What's News? Β»

Major Rubies

  • Ruby, :octocat: - also known as Matz's Ruby Interpreter (MRI) or CRuby; using the YARV (Yet another Ruby VM) since version 1.9; major releases include:
    • 2019: 2.7 (Dec/25th)
    • 2018: 2.6 (Dec/25th)
    • 2017: 2.5 (Dec/25th)
    • 2016: 2.4 (Dec/25th)
    • 2015: 2.3 (Dec/25th)
    • 2014: 2.2 (Dec/25th)
  • Fullstaq Ruby, :octocat: - an MRI-based Ruby distribution (fully open source) that's optimized for servers; compiled with the Jemalloc and malloc_trim patches, allowing lower memory usage and higher performance; by Hongli Lai (Phusion) et al
  • JRuby, :octocat: - Ruby on the Java Virtual Machine (JVM); major releases include:
    • 2018: v9.2.0.0 (May/24th) - supports Ruby 2.5
    • 2016: v9.1.0.0 (May/3rd) - supports Ruby 2.x
    • 2014: v1.7.x
  • TruffleRuby :octocat: - a high performance Ruby built with the Truffle Language Kit on the GraalVM
  • mruby, :octocat: - lightweight Ruby; designed for linking and embedding within your application
    • mruby/c :octocat: - alternative mruby designed for one-chip microprocessors and optimized for small size rather than execution speed e.g. memory size < 40 KiB vs. < 400 KiB
  • Opal - :octocat:, πŸ’Ž - source-to-source ruby-to-javascript compiler
  • DragonRuby ($40+) - a (cross-platform) commercial game toolkit / toolchain (based on a newer variant of the secret closed-source RubyMotion) for Nintendo Switch, XBOX One, PlayStation 4 and others; by Ryan C. Gordon, Amir Rajan, Aaron Lasseigne et al

Minor / Upcoming Rubies

  • Artichoke Ruby, :octocat: by Ryan Lopopolo et al - a ruby made with rust
  • sruby :octocat: - small, smart, secure, safe, solid & sound (s6) ruby - the ruby programming language for contract / transaction scripts on the blockchain world computer
  • Topaz, :octocat: - Ruby coded in Python on top of RPython (the toolchain that powers PyPy)
  • Rubinius (rbx), :octocat: - designed for concurrency; uses a low-pause generational garbage collector; core library and tools coded in Ruby
  • GoRuby :octocat: - Ruby coded in Go
  • tinyrb, :octocat: - a tiny subset of Ruby with a Lua'esc Virtual Machine (VM)
  • fruby :octocat: - Ruby en FranΓ§ais (French) e.g. classe, dΓ©fini, si, sinonsi, vrai, faux, fin, etc.

Discontinued / Rest In Peace (R.I.P.) Rubies

Ruby-to-JavaScript

Ruby-to-C (LLVM)

  • Crystal, :octocat: - Ruby-like syntax; statically-typed with type inference; compiles to machine code; run a ye good olde binary

Ruby-to-Java

  • Mirah, :octocat: - formerly known as Duby; compiles to Java bytecode; no (extra) runtime library required
  • RubyFlux :octocat: - a ruby to java static compiler

Ruby-to-Objective-C/Cocoa

  • RubyMotion - commercial compiler for Apple iOS/Cocoa

Ruby-to-Erlang (†)

  • Elixir - Ruby-inspired syntax; a dynamic, functional language for the Erlang VM compiles to BEAM instructions (bytecode)

(†): Note: Elixir is not a Ruby-to-Erlang compiler. Elixir started off with a Ruby-inspired syntax. The language semantics differ e.g. dynamic pure functional vs dynamic general pragmatic "multi-paradigm" language.

Ruby Version Manager

  • rvm, :octocat: - Ruby enVironment Manager; 27,000 lines of shell scripts to manage your rubies (overwrites your cd)
  • rbenv :octocat: - intercepts Ruby commands using shim executables added into your $PATH
  • chruby :octocat: - changes the current Ruby
  • uru - multi-platform Ruby environment manager written in Go; you can run it on Windows without Cygwin
  • asdf-vm :octocat: - extendable version manager with support for Ruby and many other languages

Ruby Language Research, Papers & Books

Ruby Benchmarks & Tests

Ruby Type Annotations / Signatures

Upcoming

Ruby Stdlib (Core) Extensions / Refinements

Ruby Library Collections

  • SciRuby - :octocat: - tools for scientific computing in Ruby e.g. nmatrix, statsample, etc.
  • Functional Ruby :octocat:, πŸ’Ž - adding functional programming tools to Ruby; inspired by Erlang, Clojure, Haskell, and Functional Java
  • Concurrent Ruby :octocat:, πŸ’Ž - modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more; inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns

Ruby Quick References / Cheat Sheets

Ruby Parser / Unparser

  • seattlerb/ruby_parser (RP) :octocat:, πŸ’Ž - a ruby parser written in ruby (using racc -- which does by default use a C extension). RP's output is the same as ParseTree's output: s-expressions using ruby's arrays and base types
  • whitequark/parser :octocat:, πŸ’Ž - a ruby parser written in ruby; also includes an "unparser" to produce equivalent source code from the parser's Abstract Syntax Tree (AST)s

Ruby Documentation Generators

  • YARD, :octocat:, πŸ’Ž - Yay! A Ruby Documentation Tool
  • SDoc :octocat:, πŸ’Ž - RDoc generator to build searchable HTML documentation for Ruby code
  • RDoc :octocat:, πŸ’Ž - RDoc produces HTML and online documentation for Ruby code

Ruby Linter / Code Checker / Static Code Analyzer

Ruby Binary Packagers

  • Traveling Ruby, :octocat: - self-contained, portable Ruby binaries
  • Omnibus :octocat:, πŸ’Ž - mini language (that is, domain-specific language (DSL) for installers (that is, binary packages)

Ruby Gems / Libraries

Ruby Community (Events, Questions & Answers, Announcements, etc.)

Thanks

Jesse Cooke β€’ Marcel Hlopko β€’ Sota Yamashtia

Meta

License

The awesome list is dedicated to the public domain. Use it as you please with no restrictions whatsoever.

Questions? Comments?

Send them along to the ruby-talk mailing list. Thanks!

About

A collection of awesome Rubies (compilers, interpreters, virtual machines, parsers, doc generators, version managers, etc.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published