Extending Ruby with C

Garrett Rooney, Software Engineer, CollabNet

Track: Ruby
Date: Wednesday, July 26
Time: 5:20pm - 6:05pm
Location: E145

The Ruby programming language provides an easy to learn, powerful object-oriented environment suitable for projects ranging from simple scripts to powerful applications, but one of its least well-known features is the ease with which it can be extended, either to provide blindingly fast C implementations of key routines, or to access libraries or operating system APIs that are only available at the C level. Learn how to write your own Ruby extensions in C, first manually and then with systems like SWIG and RubyInline.