From: ara.t.howard@... Date: 2006-09-22T00:36:43+09:00 Subject: Re: Assistance wanted for integrating existing C-API into Ruby On Fri, 22 Sep 2006, M. Edward (Ed) Borasky wrote: >> I don't advice to use SWIG because You high level ruby logic will be >> linked with low level C logic. Best choice is to describe methods >> yourself. >> >> > > So I'm personally a big fan of SWIG, because I think it's a big win for a > lot of people, and because it's a very high quality effort. I think of it as > the "automatic transmission" of scientific and statistical computing. indeed. it's worth pointing out, too, that any method of wrapping c, whether manual or automatic, should really be considered just that: wrapping. so whether one has class CMethods include ManualMethods end class CMethods include SwigMethods end it's assumed that one will follow with class RubyMethods include CMethods # # build up high-level api # end so that the idea that the glue should affect the logic is really only applicable if one stops at the glue. cheers. -a -- in order to be effective truth must penetrate like an arrow - and that is likely to hurt. -- wei wu wei