ruby-implementations VS spec

Compare ruby-implementations vs spec 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
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
ruby-implementations spec
3 13
105 608
1.0% 0.3%
10.0 9.7
about 2 years ago 4 days ago
Ruby
- MIT License
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

spec

Posts with mentions or reviews of spec. 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
    There's a full blown test suite for Ruby which the various implementations use: https://github.com/ruby/spec
  • Weird Lexical Syntax
    4 projects | news.ycombinator.com | 2 Nov 2024
    At one point there was an open source project to formally specify Ruby, but I don’t know if it’s still alive: https://github.com/ruby/spec

    Hmm, it seems to be alive, but based more on behavior than syntax.

  • What is the best way to make simple games with Ruby?
    3 projects | /r/ruby | 9 Mar 2023
    You may define that Ruby is "CRuby" (MRI), the full-fledged implementation of the Ruby programming language specification (https://github.com/ruby/spec/).
  • Ending the predominance of the Array in Ruby
    5 projects | /r/ruby | 31 Jan 2023
    Testing: Interestingly, most of the work was figuring out how to test the library reliably. Grizzly-rb is proudly tested against the ruby/spec repository using Mspec and Rubocop. Special thank you to the person recommending Rubocop in a previous post.  The tests cover Enumerable, Array, Enumerator and Enumerator::Lazy classes.
  • Personal efforts to improve the quality of Ruby interpreter
    5 projects | dev.to | 27 Dec 2022
    Ruby interpreter is a complex program, so it naturally has bugs, and Ruby interpreter developers are taking various countermeasures against them. For example, we write tests and check them in CI environment (This is the result of daily maintenance of the test environment, such as RubyCI, chkbuild, ruby/spec: The Ruby Spec Suite aka ruby/spec and machines).
  • Finally: A Language Specification for Protocol Buffers
    10 projects | news.ycombinator.com | 12 Sep 2022
  • Where is Ruby language specification or full reference?
    2 projects | /r/ruby | 15 Jun 2022
    I can't find the link to the official announcement, but many years ago they published an official ISO for Ruby, however at the time the ISO was based off of 1.8.7 syntax/semantics. Other than that, you have the RubySpec project which is a series of tests that validate how Ruby should work.
  • Rewriting Libimagequant in Rust for Portability
    3 projects | news.ycombinator.com | 4 Jan 2022
    Java could have been a good example, but Sun had a rather strict validation process for calling something Java.

    Furthermore, there are big difference in philosophy with C:

    1. IB and UB are not considered normal parts of specifications, meaning there's way less opportunity for originality in the interpretation of the specifications

    2. there tends to be an ur-implementation, and notable divergences from that tends to be interpreted as either a bug in the other implementation(s) or a lack of specification to be resolved between all implementations

    Rust only has UB in unsafe (AFAIK), which greatly limits implementation flexibility in terms of observable behaviour; and the reference implementation would very much be considered the reference implementation, so I expect e.g. rust-gcc will be sticking close to the reference implementation and behavioural divergence will either be fixed to match, or will lead to more precise specification and both implementations converging.

    Probably eventually with, if not a Sun-style validation suite, a Ruby-style Spec Suite (https://github.com/ruby/spec).

  • Announcing TypeScript 4.5
    1 project | /r/programming | 18 Nov 2021
    Ruby: https://github.com/ruby/spec Yes, it is not a word document, but it is a spec nonetheless. It is an authoritative source. TypeScript has nothing like this; no, unit tests aren't the same.
  • A History of the Rubinius Ruby JIT
    1 project | news.ycombinator.com | 11 Nov 2021

What are some alternatives?

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

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

opal-rails - Bringing Ruby to Rails · Rails bindings for Opal

rbs - Type Signature for Ruby

grizzly-rb - The Ruby library you will love to hate

hpy - HPy: a better API for Python

Opal - Ruby ♥︎ JavaScript

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
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

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