Re:C for Rubyists
by hayksaakian on Wednesday October 01, 2014 @04:45AM
(#8393396)
Thank you for linking that.
I always imagined that ruby and c were worlds apart, and that it took a crazy level of mastery to make them work together.
That thought led me to this article about embedding rust in ruby
Here's an example using RubyInline, which is a gem that handles the compilation step for you:
http://stevenjewel.com/2013/11/detecting-headphone-use/