Threads, callbacks, and execution context in Ruby

At Osaka Ruby Kaigi 03, in Osaka, Japan

Topics

Share on

When you provide a block to a function in Ruby, do you know when and where that block will be executed? What is safe to do inside the block, and what is dangerous? Let’s take a look at various code examples and understand what dragons are hidden in Ruby dungeons.

In this lightning talk, I would like to increase public awareness of thread safety with examples from various open-source gems so everyone can improve their understanding of whether a block will be executed in the same or a different thread.

Explore more events

Let's solve your hard problems

Martians at a glance
18
years in business

We're experts at helping developer products grow, with a proven track record in UI design, product iterations, cost-effective scaling, and much more. We'll lay out a strategy before our engineers and designers leap into action.

If you prefer email, write to us at surrender@evilmartians.com