RubyConf 2021 - Improving CVAR performance in Ruby 3.1 by Eileen M Uchitelle

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=Y3tSf8FwHUw



Duration: 27:40
27 views
2


Have you ever wondered how class variables (CVARs) in Ruby work? Would you be surprised to learn that their performance becomes increasingly worse as the inheritance chain grows? I’m excited to share that in Ruby 3.1 we fixed the performance of CVARs.

In this talk we'll look at the language design of class variables, learn about how they work, and, deep dive into how we improved their performance in Ruby 3.1 by adding a cache! We'll look at the cache design and real-world benchmarks showing how much faster they are regardless of the size of the inheritance chain.

**Filmed by Colorado Union Videographers




Other Videos By Confreaks


2022-08-09RubyConf 2021 - Virtual Job Fair: Kolide, Fullscript, CZI
2022-08-09RubyConf 2021 - Virtual Job Fair: Engine Yard, Wrapbook, Shopify
2022-08-09RubyConf 2021 - Just-in-Time Compiling Ruby Regexps on TruffleRuby by Benoit Daloze and Josef Haider
2022-08-09RubyConf 2021 - Rswag: Automated API Documentation by Sarah Reid
2022-08-09RubyConf 2021 - Cultivating Developer-Centric DSLs by Jake Anderson
2022-08-09RubyConf 2021 - Scaling Happy Engineering Teams by Zaid Zawaideh
2022-08-09RubyConf 2021 - Sorbet at Grailed: Typing a Large Rails Codebase to Ship with... by Jose Rosello
2022-08-09RubyConf 2021 - A message from Engineyard by Rahul Subramaniam EY
2022-08-09RubyConf 2021 - MX Hacker's Revenge
2022-08-09RubyConf 2021 - Optimizing Partial Backtraces in Ruby 3 by Jeremy Evans
2022-08-09RubyConf 2021 - Improving CVAR performance in Ruby 3.1 by Eileen M Uchitelle
2022-08-09RubyConf 2021 - Compiling Ruby to Native Code with Sorbet & LLVM by Jake Zimmerman & Trevor Elliott
2022-08-09RubyConf 2021 - YJIT - Building a new JIT Compiler inside CRuby by Maxime Chevalier Boisvert
2022-08-09RubyConf 2021 - Achieving Fast Method Metaprogramming: Lessons from.. by Jemma Issroff, Jacob Evelyn
2022-08-09RubyConf 2021 - Mixed Reality Robotics Simulation with Ruby by Kota Weaver
2022-08-09RubyConf 2021 - Drones Galore: controlling multiple drones using mruby/ruby by Shashank Daté
2022-08-09RubyConf 2021 - Joyful Polyglot: Beautiful insights from many languages by Nick Barone
2022-08-09RubyConf 2021 - Acidic Jobs: A Layman's Guide to Job Bliss by Stephen Margheim
2022-08-09RubyConf 2021 - Gradual Typing in Ruby - A Three Year... by Ufuk Kayserilioglu, Alexandre Terrasa
2022-08-09RubyConf 2021 - Squashing Security Bugs with Rubocop by Omar
2022-08-09RubyConf 2021 - The Algorithm Ate My Homework by Yechiel Kalmenson