Tag Archives: C

The Ruby C API – Basics

In my 2 previous posts, we saw how to write C extensions, and how to package them. Now time has come to see a little bit of the Ruby C API. This post will deal with the basics, next ones … Continue reading

C, Howto, Ruby , , , , , , , , , , , , , , , , , , , , , , , ,

Packaging Ruby C extensions in nice gems

In the first part of this series on Ruby and C, we’ve seen how easy it is to write a C extension and use it in Ruby environment. However, in real world problems, a Ruby library will have several C … Continue reading

C, Howto, New gem, Ruby , , , , , , , ,

How to write C extensions easily in Ruby

Lots of Ruby libraries suffer from performance. It is in fact one of the biggest criticism that is being made to Ruby. There are lots of ways to improve Ruby’s performance: use latest Ruby version, use JRuby, use Ruby Entreprise … Continue reading

C, Howto, Ruby , , , , , , , , , ,