On Mon, 2005-04-04 at 23:19 +0900, Joe Van Dyk wrote: > My first problem was trying to figure out what should remain Ruby code > and what should be moved out to C. For example, if I opened the file > that contained binary data in Ruby, how could I "get" to that data > using a FILE pointer in C? Or should I just pass the filename to the > C extension? I wonder about this as well. So far I've been sort of passing data objects back and forth between C and Ruby, the same way that I would if I were doing an out-of-process method call. But I think that's mostly just because I'm an extensions new bee.... Yours, Tom