Hi, I'm attempting to transfer some intensive functions from Ruby to C, 
but I'd like to put as little of my code in C as possible.  So, I'm 
trying to access a class defined entirely in Ruby from my C code.  
Specifically, I need to create an instance of this class (called 
Population) and access some of its methods.  A few questions about this:

1) Do the functions I need to use have to be implemented in C as well, 
or can I access their "ruby version" using some C functions?  What C 
functions do I need to use to do this?

2)  Is there a decent C API document anywhere?  I've read through 
"Programming Ruby," and its chapter on extending in C seems adequate for 
getting started, but leaves out a lot and simply refers one to the 
horribly unreadable header files, which give little to no indication as 
to what each function does.

And, on a related note:

3)  What kind of IDE have you found to be good for co-development of 
Ruby/C code?  I'm currently working with Dev-C++ (www.bloodshed.net), 
and with some tweaking it seems usable.  Is there anything better?

Thanks very much,
Austin McDonald