EURUKO

Brno, CZ Sep 17—18, 2026

Workshop

KYLE D'OLIVEIRA

workshop

A Hands-On Guide to C Extensions

Ruby's simplicity and elegance make it a favorite among developers, but when performance becomes a bottleneck, it might be time to look under the hood. Writing C extensions allows you to integrate the power of C with Ruby's flexibility, enabling you to boost performance, access native libraries, and push the boundaries of what your applications can do.

In this workshop, we'll explore why you might want to write a C extension and the step-by-step process of setting one up with a few examples. You'll learn practical techniques, such as defining Ruby methods in C, and handling data between the two languages.