RubyConf 2022: Exit(ing) Through the YJIT by Eileen M Uchitelle

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



Duration: 29:19
16 views
0


When optimizing code for the YJIT compiler it can be difficult to figure out what code is exiting and why. While working on tracing exits in a Ruby codebase, I found myself wishing we had a tool to reveal the exact line that was causing exits to occur. We set to work on building that functionality into Ruby and now we are able to see every side-exit and why. In this talk we’ll learn about side-exits and how we built a tracer for them. We’ll explore the original implementation, how we rewrote it in Rust, and lastly why it’s so important to always ask "can I make what I built even better?"




Other Videos By Confreaks


2023-03-07RubyConf 2022: Keynote: The Case Of The Vanished Variable - A Ruby Mystery Story by Nadia Odunayo
2023-03-07RubyConf 2022: Eclectics Unite: Leverage Your Diverse Background by Sijia Wu
2023-03-07RubyConf 2022: Boot the backlog: Optimizing your workflow for dev happiness by Stacey McKnight
2023-03-07RubyConf 2022: Change the Climate Before Changing the Weather by Ben Greenberg
2023-03-07RubyConf 2022: Performance does (not) Matter by Yukihiro Matsumoto (Matz)
2023-03-07RubyConf 2022: Crocheting & Coding: they're more similar than you think! by Tori Machen
2023-03-07RubyConf 2022: Discover Machine Learning in Ruby by Justin Bowen
2023-03-07RubyConf 2022: Business in the Front, Party in the Back (Office) by Kevin Whinnery
2023-03-07RubyConf 2022: Bending Time with Crystal: 6 hours to 15 minutes by Paul Hoffer
2023-03-07RubyConf 2022: Building Stream Processing Applications with Ruby & Meroxa by Ali Hamidi
2023-03-07RubyConf 2022: Exit(ing) Through the YJIT by Eileen M Uchitelle
2023-03-07RubyConf 2022: A Tale of Two Flamegraphs: Continuous Profiling in Ruby by Ryan Perry
2023-03-07RubyConf 2022: Pushing to master - adopting trunk based development by Dylan Blakemore
2023-03-07RubyConf 2022: Boutique machine generated gems by CJ Avilla
2023-03-07RubyConf 2022: Lightning Talks
2023-03-07RubyConf 2022: This Old App by Lori M Olson
2023-03-07RubyConf 2022: Ruby Central Panel
2023-03-01RubyConf Mini 2022: Teaching Ruby to Count by Joël Quenneville
2023-03-01RubyConf Mini 2022: A Brewer’s Guide to Filtering out Complexity and Churn by Fito von Zastrow
2023-03-01RubyConf Mini 2022: We Need Someone Technical on the Call by Brittany Martin
2023-03-01RubyConf Mini 2022: Functional programming for fun and profit!! by Jenny Shih



Tags:
Ruby
RubyConf
Ruby on Rails
Ruby Language
Ruby Friends
Ruby Gems