From: vasudevram Date: 2006-07-13T01:50:06+09:00 Subject: Re: Good way to write a C extension to Ruby? Thanks! I'll check what you suggest. > it has it's own DSL (argh...). Not clear - why the "argh" for the DSL? Meaning Domain Specific Language? Vasudev Marcin Mielzynski wrote: > > Swig is brilliant and has very good support for Ruby, it will help you > automate many tasks - it has it's own DSL (argh...). Actually I used it > to wrap my C++ code. It is also worth mentioning that Ruby has the most > consistent and easy to understand/use c api I've seen (Lua's api is also > very clear) - just look into Ruby sources: array.c and hash.c - you'll > realize what I'm talking about ;D > > lopex