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

Contact us

We’d love to hear from you! We’re not really all that evil, and we love discussing potential projects, intriguing ideas, and new opportunities. Complete the form below or drop us a line at surrender@evilmartians.com. Alternatively, schedule a Calendly appointment with us right now!

Martians at a glance
17
years in business

A product development consultancy that works with startups and established businesses, while also creating open source-based products and services