Writing C Extensions for Ruby

Hello World,

This post is about writing C extensions for Ruby.  There are benefits of writing a C extension for Ruby.

The best place to start is the Programming Ruby: The Pragmatic Programmer’s Guide chapter on Extending Ruby.

A excellent series of more in-depth tutorials were written by Chris Lalancette.

After your C extension is finished, you may want to package your C extension as a rubygem.