Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    B

    byroot

    byroot.github.io · Personal blog · on HN since 2024

    Jean Boussier (byroot), a Ruby core and Rails contributor, writes about Ruby performance, JSON, Ractors, frozen strings and Rails internals.

    Visit blogRSSHN submissions
    Languages & CompilersSystems & Performance
    What HN says

    Commenters call his posts fantastic and link them for details on frozen string literals, Ractors and IO instrumentation in Ruby.

    Stats for nerds
    36HN people shared it
    46linked in comments
    1.7Kstory points
    Nov 2025last shared
    2024people per year2025

    Top posts on HN

    1. 1
      There isn't much point to HTTP/2 past the load balancer
      1 person · 334 points · first shared 2025 · 256 comments on HN
    2. 2
      Optimizing Ruby's JSON, Part 1
      3 people · 272 points · first shared 2024 · 62 comments on HN
    3. 3
      The Mythical IO-Bound Rails App
      4 people · 251 points · first shared 2025 · 70 comments on HN
    4. 4
      Optimizing Ruby's JSON, Part 4
      1 person · 213 points · first shared 2024 · 44 comments on HN
    5. 5
      Database Protocols Are Underwhelming
      6 people · 130 points · first shared 2025 · 29 comments on HN
    6. 6
      Frozen String Literals: Past, Present, Future?
      5 people · 87 points · first shared 2025 · 38 comments on HN
    7. 7
      Unlocking Ractors: class instance variables in Ruby
      2 people · 82 points · first shared 2025 · Discussion on HN
    8. 8
      Unlocking Ractors: Object_id
      1 person · 78 points · first shared 2025 · Discussion on HN
    9. 9
      What's wrong with the JSON gem API?
      3 people · 69 points · first shared 2025 · 24 comments on HN
    10. 10
      Dear Rubyists: Shopify Isn't Your Enemy
      1 person · 67 points · first shared 2025 · 13 comments on HN

    What HN people wrote when they linked it

    • jeremy_kMar 2025

      Probably worth linking to https://byroot.github.io/ruby/performance/2025/02/27/whats-the-deal-with-ractors.html in which Jean goes into further detail about some of nuances that go into building these types of data structures.

      In particular it is mentioned

      "For Ractors to be viable to run a full-on application in, Ruby would need to provide at least a few basic data structures that would be shareable across ractors, so that we can implement useful constructs like connection pools.

      Perhaps some Ractor::Queue, maybe even some Ractor::ConcurrentMap, and more importantly, C extensions would need to be able to make their types movable."

      Which we see in Mike's library he has started work on a Queue and a Map.

      I haven't fully wrapped my head around all the nuances to using Ractors nor have I tried to do anything with them yet. But its encouraging to see the discussion around them ramping up

    • LioAug 2025

      Yep, I agree with this.

      Jean Boussier wrote this execellent examination of CPU bound Rails application and why making use of multi-processes is probably a good idea.

      Even if you're not using CPU bound it's still daft to leave performance on the table you don't need to.

      For the most part if something is a bit slower than it needs to be it still makes more sense to take the obvious bottle necks out before you rewrite the whole system in another language. Especially with YJIT and forcoming ZJIT availible.

      1. https://byroot.github.io/ruby/performance/2025/01/23/the-mythical-io-bound-rails-app.html

    • byrootNov 2025

      > They aren't interned frozen strings

      Doesn't matter. The parent claim was:

      > You'd just have a broken VM if you used mutable strings for metaprogramming in Ruby

      From day one it was possible to freeze strings used in metaprograming. I mean Ruby Hashes do that to strings keys.

      > Ruby 3.4 making it unnecessary because it is on by default.

      That's incorrect: https://byroot.github.io/ruby/performance/2025/10/28/string-literals.html

    • dudeinjapanNov 2025

      Ractors have promise but the implementations up till now haven't had strong concurrency safety. It seems in the latest release some of the heavy-hitter contributors like Jean Boussier (byroot) have taken a detailed look at Ractors and started to clean things up.

      https://byroot.github.io/ruby/performance/2025/05/24/unlocking-ractors-class-variables.html

    • thomascountzNov 2025

      Here's a fantastic writeup about frozen strings in Ruby and the upcoming changes: https://byroot.github.io/ruby/performance/2025/10/28/string-literals.html

    • Azerty9999Jan 2025

      There is a highly relevant follow-up post by the author here, too: https://byroot.github.io/ruby/performance/2025/01/23/io-instrumentation.html

    Related

    Rails at Scalerailsatscale.com59 people

    Tiny JITs for a Faster FFI

    Rails at Scale
    Company · last shared 2026
    Aphyraphyr.com551 people

    Hexing the technical interview (2017)

    Aphyr
    Personal · last shared 2026
    Ruby Insiderubyinside.com147 people

    Sinatra 1.0 Released: Major Milestone for Ruby’s Best Webapp DSL

    Ruby Inside
    Publication · last shared 2021
    Antonio Cangianoantoniocangiano.com27 people

    Who is accessing your Gmail account?

    Antonio Cangiano
    Personal · last shared 2010
    Unlimited Noveltyunlimitednovelty.com42 people

    Node.js has jumped the shark

    Unlimited Novelty
    Personal · last shared 2023
    Merbistmerbist.com38 people

    Hey Apple, Please Be Nice and Share MacRuby

    Merbist
    Personal · last shared 2013
    Deno: The Complete Referencemedium.com/deno-the-complete-reference17 people

    Is Bun much faster than Node.js?

    Deno: The Complete Reference
    Publication · last shared 2025
    DHHworld.hey.com/dhh654 people

    The Framework Desktop is a beast

    DHH
    Personal · last shared 2026