A Faster FFI

We all love programming in Ruby, but sometimes it is necessary to call native code. Unfortunately, C extensions usually have better performance than using FFI. In this presentation, I want to show how we can have an FFI implementation that matches, or even beats, the performance of using a C extension. We’ll look at what makes FFI slow and how we can address performance. Lets make FFI fast so that we can stop using C extensions!

  • Aaron Patterson
    Aaron Patterson

    Aaron is on the Ruby core team, the Rails core team, and the team that takes care of his cat, Gorby puff. Someday he will find the perfect safety gear to wear while extreme programming.