Ask HN: Any efforts to remove the GIL for Ruby?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. Concurrent Ruby

    Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.

    In a sense the GIL (or actually GVL as it's called in current ruby versions) has already been removed for ruby.

    It's only the original MRI Ruby that still has it several over Ruby implementations already removed it. e.g. JRuby.

    Concurrent-Ruby[1] is probably a good place to start if you want to work with GVL free ruby on JRuby. It's quite well supported and is currently used by Rails.

    If you just want async or non-blocking IO I'd take a look at the Async Gem[2]. It looks pretty solid in Ruby > 3.0 and it's been invited by Matz to be part of the stdlib, which I think is a pretty good endorsement.

    For MRI itself I don't think it's likely they'll ever remove the GVL. Ractors are probably a better solution for CPU concurrency in the long run, although I think they're pretty experimental currently.

    1. https://github.com/ruby-concurrency/concurrent-ruby

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Async Ruby

    An awesome asynchronous event-driven reactor for Ruby. (by socketry)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ruby 3 adds Scheduler Interface for Fibers

    1 project | news.ycombinator.com | 23 Jun 2022
  • Rails is not written in Ruby

    1 project | /r/ruby | 4 Feb 2022
  • Building a Multi-Connection Redis Server with Ruby's Async Library [Part 1]

    1 project | dev.to | 26 Feb 2025
  • Rack for Ruby: Socket Hijacking

    1 project | dev.to | 4 Dec 2024
  • Persistent Redis Connections in Sidekiq with Async::Redis: A Deep Dive.

    4 projects | dev.to | 18 Jul 2024

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