From: Patrick Hurley Date: 2006-07-12T03:57:35+09:00 Subject: Re: Good way to write a C extension to Ruby? On 7/11/06, vasudevram wrote: > Whats a good way to write a C extension to Ruby? I would just use the Ruby API. Unless you have a specific need to provide bindings for multiple languages, SWIG is really adding, not removing complexity. Write the smallest extension you can and build it incrementally. The previously mentioned readme.ext and pick axe chapters are excellent, you may also find some value in the Ruby Hacking Guide (partially translated at: http://rhg.rubyforge.org/). Good luck and if you get stuck, ask again pth