A new register allocator for ZJIT
railsatscale.com
A new register allocator for ZJIT
1–7 of 7 posts
Re: A new register allocator for ZJIT
#2Re: A new register allocator for ZJIT
#3‘Register spilling and live-range splitting for SSA-form programs’ and ‘Preference-Guided Register Assignment’
It’s much cleaner to code, since you don’t need to generate live ranges explicitly, and can break it up in two passes. Linear scan creates new inactive /active intervals, while the ssa form allocators just reuse the ssa graph. I’ve never benchmarked them back to back though.
Re: A new register allocator for ZJIT
#4Glad to read news on Ruby ZJIT development. I wonder if ZJIT is being used in production at Shopify yet?
Re: A new register allocator for ZJIT
#5Re: A new register allocator for ZJIT
#6Glad to read news on Ruby ZJIT development. I wonder if ZJIT is being used in production at Shopify yet?
Re: A new register allocator for ZJIT
#7Glad to read news on Ruby ZJIT development. I wonder if ZJIT is being used in production at Shopify yet?
Used in production? Probably not yet. But likely tested in production on a small %. They’ve gotten practiced at using the Shopify Rails monolith as the biggest test suite and regression tests for Rails and Ruby.
Hopefully it is no longer experimental in Ruby 4.1.