logo Boston Ruby Group

October 9, 2012

Creating Ruby Extensions in C

by Dave Ott

If you find yourself as a diligent Rubyist in a situation where you need to do some 'heavy lifting', or perhaps you have a computation that is just too painfully close to the lower end of your speed threshold, you may be in position that requires you to get closer to the metal. Writing Ruby extensions in C is probably a lot simpler and more fun than you may think. So let's learn how!