ruby-implementations VS ruby

Compare ruby-implementations vs ruby and see what are their differences.

Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Rails, Sidekiq, Solid Queue, and more to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up job queues.
judoscale.com
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
ruby-implementations ruby
3 200
105 22,551
1.0% 0.7%
10.0 10.0
over 2 years ago 3 days ago
Ruby
- GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ruby-implementations

Posts with mentions or reviews of ruby-implementations. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-30.
  • Lightstorm: Minimalistic Ruby Compiler
    2 projects | news.ycombinator.com | 30 Dec 2024
    Fascinating, does the project aspire to become compatible with MRI Ruby? Also how many active Ruby implementations do we have so far?

    Edit: Found this, https://github.com/codicoscepticos/ruby-implementations?tab=...

  • Ruby 3.2’s YJIT is Production-Ready
    8 projects | news.ycombinator.com | 17 Jan 2023
    I see the point to make a parallel with HipHop, but here YJIT is directly integrated in CRuby, the main implementation of the language, and it’s just a matter of command line flag whether you enable or disable it — at least from what I remember that I red.

    From what I remember, HipHop was distributed in a different toolchain than the vanilla PHP interpreter. Ruby also have other interpreters available by the way: https://github.com/codicoscepticos/ruby-implementations

  • Sorry for this noobest question
    3 projects | /r/ruby | 6 Jan 2023

ruby

Posts with mentions or reviews of ruby. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-31.
  • Better Know a Ruby Thing: Singleton Classes
    2 projects | news.ycombinator.com | 31 Jan 2025
    > * A pointer to a unique class for that instance, called the “singleton class” of the object, also used for method lookup

    I don't think this is accurate. The source code shows a generic `RObject` [0] contains flags, a pointer to a class (named `klass`), and instance variables. An `RClass` [1] contains flags, `klass`, `super` and a table of methods.

    In both cases there is only a single pointer to a class that's used for method lookup.

    > Ruby will look in the singleton class for the specific user instance first, and will only look for an instance method of the class if there is no matching method in the singleton class.

    This is true, but it implies that Ruby does two separate lookups. The actual solution is more elegant.

    An object's `klass` points to its singleton class, and method lookup happens only on that class and its superclasses. The second lookup implied above actually happens implicitly because the class of the object is an ancestor of the singleton class.

    Specifically, for `class C`, its `klass` points to `<< C`, whose ancestors are `<< Object`, `<< BasicObject`, `Class`, `Module`, `Object` and `BasicObject`.

    Ruby's whole object model, and the way it sets up this inheritance chain, is IMO beautiful and underappreciated.

    > I’m not really sure why the Smalltalk solution wasn’t used

    I think the way Ruby actually works is closer to the Smalltalk approach than the author realizes.

    [0] https://github.com/ruby/ruby/blob/71f402c5d50919b0329d04704d...

    [1] https://github.com/ruby/ruby/blob/71f402c5d50919b0329d04704d...

  • Reading the Ruby 3.4 NEWS with professionals (English translation)
    17 projects | dev.to | 26 Dec 2024
    Ruby 3.4.0 was released today, December 25th, as the annual Christmas release (Ruby 3.4.0 Release). This year, we will also be explaining the NEWS.md file for Ruby 3.4 on the STORES Product Blog (incidentally, this will be an article for the STORES Advent Calendar 2024, written in Japanese). Please see the previous article for an explanation of what a NEWS file is.
  • Ruby 3.4.1
    1 project | news.ycombinator.com | 25 Dec 2024
  • News for Ruby 3.4.0
    2 projects | news.ycombinator.com | 24 Dec 2024
    I am most excited about the parser change, previously discussed here:

    https://news.ycombinator.com/item?id=36310130 - Rewriting the Ruby parser (2023-06-13, 176 comments)

    I remember being taught to use yacc in our compiler course because "writing it by hand is too hard". But looks like Ruby joins the growing list of languages that have hand-written parsers, apparently working with generated parsers turned out to be even harder in the long run.

    That said, replacing a ~16k line parse.y[1] with a 22k line prism.c[2] is a pretty bold move.

    [1] https://github.com/ruby/ruby/blob/master/parse.y

    [2] https://github.com/ruby/prism/blob/main/src/prism.c

  • Float Self-Tagging
    2 projects | news.ycombinator.com | 27 Nov 2024
    In fact, CRuby successfully combined “Self Tagging” with pointer tagging. Here's the commit:

    https://github.com/ruby/ruby/commit/b3b5e626ad69bf22be3228f8...

  • It's Time to Replace TCP in the Datacenter
    2 projects | news.ycombinator.com | 18 Nov 2024
    Unix sockets can use tcp, udp, or be a raw stream

    https://en.wikipedia.org/wiki/Unix_domain_socket#:~:text=The....

    Puma creates a `UnixServer` which is a ruby stdlib class, using the defaults, which is extending `UnixSocket` which is also using the defaults

    https://github.com/puma/puma/blob/fba741b91780224a1db1c45664...

    Those defaults are creating a socket of type `SOCK_STREAM`, which is a tcp socket

    > SOCK_STREAM will create a stream socket. A stream socket provides a reliable, bidirectional, and connection-oriented communication channel between two processes. Data are carried using the Transmission Control Protocol (TCP).

    https://github.com/ruby/ruby/blob/5124f9ac7513eb590c37717337...

    You still have the tcp overhead when using a local unix socket with puma, but you do not have any network overhead.

  • A Comprehensive Guide to Multithreading in Ruby
    1 project | dev.to | 13 Nov 2024
  • GC compaction: Behold your hash keys!
    2 projects | dev.to | 11 Nov 2024
    However, it turned out that this is really a bug in Ruby and will be fixed in Ruby 3.2.7, 3.3.7 and 3.4.0. While we're at it, I'd love to thank the Ruby core team for their swift responses and their efficiency at fixing this. It took Peter Zhu only a few hours, I wish I was as motivated as this gentleman.
  • Ruby 3.4.0 Preview2 Released
    1 project | news.ycombinator.com | 10 Oct 2024
    https://github.com/ruby/ruby/releases/tag/v3_4_0_preview2
  • CRuby switches the default parser from parse.y to Prism
    1 project | news.ycombinator.com | 17 Sep 2024

What are some alternatives?

When comparing ruby-implementations and ruby you can also consider the following projects:

fast-ruby - :dash: Writing Fast Ruby :heart_eyes: -- Collect Common Ruby idioms.

CocoaPods - The Cocoa Dependency Manager.

rbs - Type Signature for Ruby

advent-of-code - My solutions for Advent of Code

mypy - Optional static typing for Python

SimpleCov - Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites

Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Rails, Sidekiq, Solid Queue, and more to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up job queues.
judoscale.com
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured

Did you know that Ruby is
the 12th most popular programming language
based on number of references?