---
title: "More work on making Ruby faster"
publication: "Ruby Weekly"
issue: 555
published_at: "2021-06-03"
canonical_url: "https://rubyweekly.com/issues/555"
---

Plus another online Ruby event, cron-like jobs for Sidekiq, and lets throw the Stack Overflow survey in Ruby's favor. |        

#​555 — June 3, 2021 

[Read on the Web](https://rubyweekly.com/issues/555)    

😶 A curiously quiet week in Ruby land! We hope you're enjoying the weather where you are right now, especially as summer begins to rear its head in the northern hemisphere.. :-) Psst.. feel free to send in your submissions!
__
_Peter Cooper and Glenn Goodrich_  

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/kdku7jdlzchrcd3cumpw.jpg)](https://pointersgonewild.com/2021/06/02/yjit-building-a-new-jit-compiler-inside-cruby/)  

[YJIT: Building a New JIT Compiler Inside CRuby](https://pointersgonewild.com/2021/06/02/yjit-building-a-new-jit-compiler-inside-cruby/) — Even if you can’t follow along with the technicalities, it’s reassuring to know a lot of work is still going into making Ruby (and Rails, [as we featured last week](https://k0kubun.medium.com/ruby-3-jit-can-make-rails-faster-756310f235a)) faster. YJIT is still in its ‘early stages’ but the speedups achieved already are encouraging. 

Maxime Chevalier-Boisvert (Shopify)   

[Why is JRuby 'Slow?'](https://earthly.dev/blog/jruby/) — While the title feels clickbait-y and perhaps unfair out of context, the author goes deep into why JRuby _seems_ slow while exploring use cases where the JVM might shine. It provoked [some discussion](https://news.ycombinator.com/item?id=27322533) on Hacker News, too. 

Adam Gordon Bell   [![\](https://copm.s3.amazonaws.com/5b5b43d2.png)](https://dashboard.redisgreen.net/rubyweekly) 

[Redis 6.2 on RedisGreen](https://dashboard.redisgreen.net/rubyweekly) — SSL encryption, key size tracking, memory mapping, online upgrades, and more. 

RedisGreen sponsor    

[On the Diverse And Fantastical Shapes of Testing](https://martinfowler.com/articles/2021-test-shapes.html) — Does your testing follow a pyramid, a honeycomb, or a trophy? How many unit tests vs integration vs other? Is mocking and stubbing OK? The testing world is certainly full of opinions and shapes. 

Martin Fowler   

[Understanding RBS, Ruby's New(ish) Type Annotation System](https://www.honeybadger.io/blog/ruby-rbs-type-annotation/) — It feels like RBS kind of stepped offstage for a bit, so good timing for a bookmarkable post going over its rationale with plenty of examples. 

Julio Sampaio   

**QUICK BITS:** 

- [EMEA on Rails](https://www.emeaonrails.com/) is a Europe, Middle East and Africa-oriented event taking place entirely online next Wednesday (June 9). Check out [the schedule of talks.](https://www.emeaonrails.com/#schedule)
- JetBrains has [opened its early access program](https://blog.jetbrains.com/ruby/2021/05/rubymine-2021-2-eap-is-open/) for the forthcoming RubyMine 2021.2. Ruby 3 RBS support is the headlining feature.
- The _Ruby Rogues_ podcast has celebrated its tenth birthday with [its 500th episode.](https://devchat.tv/ruby-rogues/episode-500-ruby-500/) The [Ruby on Rails Podcast](https://5by5.tv/rubyonrails) is older, but I think Rogues holds the episode count crown.
- We mentioned Stack Overflow's [2021 survey](https://stackoverflow.az1.qualtrics.com/jfe/form/SV_7arimtzVFf8ipfM) last week, but realized it would be neat to see Ruby suddenly jump up the language popularity charts.. 😄 if you agree, consider [taking part.](https://stackoverflow.az1.qualtrics.com/jfe/form/SV_7arimtzVFf8ipfM) [Last year](https://insights.stackoverflow.com/survey/2020#most-loved-dreaded-and-wanted) Ruby was the 19th most loved language, but the 7th "most dreaded" - let's spin that round!    

[How I Organize My Rails Apps](https://www.codewithjason.com/organize-rails-apps/) — You might think Rails takes care of all the structural concerns, but no, there’s a lot you might still want to consider. 

Jason Swett   

[Full-text Search with Postgres and Action Text](https://thoughtbot.com/blog/full-text-search-with-postgres-and-action-text) — Sean Doyle unlocks PostgreSQL’s full-text searching for the HTML-infused content of ActionText so you can have your WYSIWYG and search it, too. 

thoughtbot   

[Free eBook by Leigh Halliday: Efficient Search in Rails with Postgres](https://pganalyze.com/ebooks/efficient-search-in-rails-with-postgres?utm_source=RubyWeeklySecondary06032021) 

pganalyze sponsor   

[Puma Graceful Restarts](https://nts.strzibny.name/puma-graceful-restarts/) — There are a few ways to handle restarts with Puma, so understanding the trade-offs with each can keep your users from any downtime. 

Josef Strzibny   

[Gracefully Handle API Response with Value Objects](https://longliveruby.com/articles/handle-api-response-with-value-objects) — A pleasant little refactoring example. 

Paweł Dąbrowski   

[Rails 7 Allows Access to Nested Encrypted Secrets by Method Calls](https://blog.saeloun.com/2021/06/02/rails-access-nested-secrects-by-method-call.html) — Mmmm…syntactic sugar… 

Rohit Joshi  

🛠 Code and Tools  

[sidekiq-scheduler 3.1: Lightweight Job Scheduler Extension for Sidekiq](https://github.com/moove-it/sidekiq-scheduler) — An extension for Sidekiq to push jobs in a scheduled cron-like fashion (something that also comes with Sidekiq’s [Enterprise tier](https://sidekiq.org/products/enterprise.html)). This release importantly adds Ruby 3 and Sidekiq 6.2+ support. 

Moove It   

[fast_excel: Ultra Fast Excel Writer for Ruby](https://github.com/Paxa/fast_excel) — When you need to create Excel files up to 3.5x faster than other gems out there. 

Pavel Evstigneev   

[Discover the Best Tools for Developers](https://www.console.dev/?ref=ruby_weekly) — A free weekly email digest of the best tools and beta releases for developers. 

Console.dev sponsor   

[ChatterBot 2.2: A Twitter Bot Framework for Ruby](https://github.com/muffinista/chatterbot) — Want to create a witty or fun bot of some kind on Twitter? This provides some of the framework to let you build something fast. 

Colin Mitchell   

[Hashdiff: Compute The Smallest Difference Between Two Hashes](https://github.com/liufengyun/hashdiff) — Hashdiff uses an interesting approach to generate the instruction set required to transform one hash into the other in `[action (+/-), key, value]` format. 

Fengyun Liu   

[pg_query: Parse, Deparse and Normalize SQL Queries with Postgres' Query Parser](https://github.com/pganalyze/pg_query) 

pganalyze   

**MINOR RELEASES:** 

- [Passenger 6.0.9](https://blog.phusion.nl/2021/06/02/passenger-6-0-9/) – The popular app server.
- [Sequel 5.45.0](https://github.com/jeremyevans/sequel) – The database toolkit for Ruby.
- [AnyCable 1.1.0](https://github.com/anycable/anycable/releases/tag/v1.1.0)
- [RubyMine 2021.1.2](https://blog.jetbrains.com/ruby/2021/06/rubymine-2021-1-2-is-available/) – JetBrains' commercial Ruby IDE.
- [RubyGems 3.2.19](https://blog.rubygems.org/2021/05/31/3.2.19-released.html)    

Jobs  

[Ruby on Rails Engineer Positions](https://bit.ly/3mDSB9L) — We’re growing teams in Europe and North America, we’re also one of the fastest growing SaaS companies globally. Tech : Postgres, AWS, React, Redux. 
Workday   

[Founding Backend Engineer at MagicBell (YCombinator W21)](https://www.notion.so/Founding-Backend-Engineer-dd5a43ab95a540bd9d29c7bc32ad9034) — The notification inbox for web/mobile apps. Join the founders who care about code quality & diversity in building the company. 
MagicBell, Inc   

[Find Ruby Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-rubyweekly%29&utm_content=find-your-next-job) — Take 5 minutes to build your free profile & start getting interviews for your next job. Companies on Hired are actively hiring right now. 
Hired           

Curated by [Peter Cooper](https://twitter.com/peterc), [Glenn Goodrich](https://twitter.com/ruprict) and [Cooperpress](https://cooperpress.com/). 

[Change your email address](https://rubyweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
