Schedule

Emily Samp
Emily Samp
  • @egiurleo

Emily Samp (she/her) is a Senior Developer at Shopify, where she helps improve the Ruby development experience with open-source tools like Sorbet and the Ruby Extension Pack for VS Code. She is also an organizer of WNB.rb (https://wnb-rb.dev), a virtual community for women and non-binary Ruby developers. She lives in Lawrence, KS with her husband and their pets.

Generating RBIs for dynamic mixins with Sorbet and Tapioca

Last year, Tapioca became the official tool for generating RBI files for Sorbet. Using Tapioca, developers can quickly generate accurate RBIs for external Ruby gems, allowing them to use Sorbet in their projects even if most gems have not yet added type signatures.

In this talk, I’ll explain how I implemented new functionality in Tapioca to help it generate RBIs for dynamic mixins in Ruby gems. Along the way, we’ll learn about how Tapioca uses information about the Ruby object model to generate RBIs, and how this work has impacted the Ruby language as a whole.

Presentation Material

Recorded video