Ruby Weekly Issue 577: November 4, 2021

0
30
Ruby Weekly Issue 577: November 4, 2021



An Introduction to Async Ruby — The async gem (created by the same person who brought FiberScheduler to 3.0) brings simple asynchronous operations to the Ruby table, and without a lot of special APIs or switching libraries around either. The gem has been invited to the standard library, too, so this may be the way of Ruby’s async future?

Bruno Sutic

QUICK BITS:

  • The YJIT compiler that should be coming to Ruby 3.1 now has a frequently updated benchmarks page showing the performance improvements of YJIT over time and how they affect different workloads. We’re certainly ready for ~20% better performance.

  • We mentioned the release of Opal 1.3, a popular Ruby to JavaScript transpiler, last week – but there’s now an official release post covering the improvements.

  • Earlier this week, Hacker News was home to a discussion about whether Ruby will ever have a ‘comeback’ (in terms of jobs and adoption growth versus other options, I guess).

Senior Software Engineering Consultant [100% Remote] — Co-founded by Justin Searls, Test Double is an engineering consultancy on a mission to improve the way the world builds software. Work on challenging projects as part of a passionate, open, and honest team.

TEST DOUBLE

Find Ruby Jobs Through Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.

Hired

📕 Articles & Tutorials

A Guide to Ruby Structs — A comprehensive guide that covers construction, transformation, pattern matching, refinements, benchmarks, and more. Another one to save in your reference file.

Brooke Kuhlmann

Ruby’s Got You ‘Covered’ — Did you know Ruby ships with a Coverage library and it will handle lines, methods, and branches? If you’re using a test coverage library, it’s probably using Coverage.

Kevin Murphy

Metaprogramming ‘Smarter’ Hashes in Ruby — “Smarter” means giving a hash OpenStruct-like behavior along with never doing this in production because it breaks Rails, among other things. It’s always fun to see how flexible Ruby is, though.

Tyler Porter

JRuby 9.2.20.0 Released — The latest release of the Ruby 2.5.x compatible branch of the JVM-based Ruby implementation.

JRuby Core Team



Source link

Leave a reply

Please enter your comment!
Please enter your name here