Talking head
Ruby Conference 2014

This presentation, by Chris Seaton, is licensed under a Creative Commons Attribution ShareAlike 3.0
80x15

Ruby is notoriously difficult to optimize, but there is a solution: deoptimization. This means jumping from compiled code back to an interpreter, and it allows Ruby implementations to take shortcuts, make guesses and pretend Ruby is simpler than it is, but at the same time still be ready to handle the full language if it’s needed. You’ve seen talks about what makes Ruby slow: monkey patching, bindings, set_trace_func, object space & so on. We’ll show how with a Ruby implementation using deoptimization, such as JRuby+Truffle, you can use these features without any runtime overhead at all.

Rated: Everyone
Viewed 3,710 times
Tags: There are no tags for this video.