Ruby 3.3 Preview 2 Released— With Christmas Day as the traditional day that new versions of Ruby land, things begin to pick up in the fall. Major performance improvements over 3.2 are already on offer thanks to ongoing improvements with YJIT, but there’s also an optional experimental pure-Ruby JIT compiler called RJIT to try. Yui Naruse |
'We Turned Lobste.rs into a Benchmark for YJIT'— Related to my comments (above) on how YJIT is continuing to get faster and faster, Noah Gibbs has some real world data on just how well YJIT, the default JIT in CRuby, optimizes Rails apps. The ‘real world’ scenario is formed by testing against the Ruby-based code that runs Lobste.rs, a Hacker News-esque social link aggregation site. Noah Gibbs |
Rails 7.1 Beta 1 Released— It looks like things are gearing up for lots of Rails 7.1 news (and perhaps even a release) at the forthcoming Rails World 2023. This beta puts you on the cutting edge with support for the Bun JavaScript runtime, a new perform_all_later Active Job method for scheduling jobs en masse, support for composite primary keys in AR, improved async query support, and Dockerfile generation for all new apps. Rafael Franca |
Rails Middleware: (Almost) Everything You Need to Know— Akshay continues his run of posts digging into various facets of Ruby and Rails with a look at the use of middleware, a concept introduced by Rack but for which Rails has added a lot of sugar and helpers. Akshay Khot |
🎙️ Off the back of some.. kerfuffle about DHH's recent decision to yank TypeScript out of Turbo, DHH has appeared on the Rework Podcast to talk about the incident and share his characteristically punchy take on his role. 🙈 Over on Twitter/X, DHH stood up for Rails by 🐦 pointing to all the companies that have grown large using it. This provoked a flurry of discussion, mixed between replies suggesting some of those companies have since migrated away from Rails and people supporting Rails' success. It's certainly been interesting.. 🎙️ Shami Tomita and Eric Halverson went on the Ruby on Rails Podcast to ▶️ discuss the building of the Rails World web site. 📅 In other event news, don't forget RubyConf 2023 is this November in San Diego, CA – tickets are still available. 🤖 Meanwhile, next month I'm headed to the AI Engineer Summit in San Francisco. Say hi if you're going! You can still apply to attend or grab a free remote ticket if you want to see what's up. |
When Counting Lines in Ruby Randomly Failed Deployments— Sometimes the obvious or idiomatic way to do something can be quite inefficient under the hood, as in this case of using str.lines.count to count lines in a string. Luckily, there was a much faster approach.. Illia Zub (SerpApi) |
▶ Go Passwordless with WebAuthn in Ruby— A ~40 minute talk on WebAuthn, an authentication method that uses public-key cryptography together with biometrics. Braulio explains how it works and how to add it to a Ruby app. Braulio Martinez |
Express Yourself Clearly with positive? and negative? — Two handy numeric methods that were added in Ruby 2.3 but which may have escaped your attention till now. They can help you clean up things like if num > 0 or if num < 0 though Andy touches on a couple of downsides too. Andy Croll |
JRuby 9.3.11.0 Released— The Ruby 2.6.x compatible branch of the JVM Ruby implementation get some bugfixes, as well as an update to strscan . JRuby Core Team |
Find Ruby Jobs with Hired— Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Hired |
|
|