Writing a C extension for Ruby in 2016
Now that Ruby has crested the hype cycle, settled down and taken out a mortgage, you'd expect the posts around the community to be more about big business concerns. Whilst that might be true, I'd like to row against the tide by telling you about the fun I had figuring out how to write my first C extension -
fast_osc - and how I made Sonic Pi 10x faster in the process.
Before we get stuck into the details of that, what is a C extension and why would you want to write one in 2016?
Writing a C extension for Ruby in 2016 #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper