From: Hugh Sasse Staff Elec Eng Date: 2002-02-05T20:16:55+09:00 Subject: Re: Ruby and Swig?? On Tue, 5 Feb 2002, Markus Jais wrote: > hello > > according to swig.org Swig works also with Ruby. > I need create a ruby interface to a C library. Yes it does. I have tried to improve the docs for 1.3.11 as there was not much introductory material for Rubyists. Being new to SWIG myself I have not been able to cover everything. > > are there any additional information on Swig and Ruby > beside swig.org ?? The docs come with the sources. The ruby docs are at http://www.swig.org/Doc1.3/Ruby.html which contains my mods. > > are there examples in the RAA which are using swig?? Not noticed any.... > > I wonder when it is a good idea to use swig and when to > write the extensions by hand ? > are there performance differences ?? I don't know. SWIG does seem to do its job pretty well. Writing the extension by hand is probably best avoided, if the results of using a tool are satisfactory -- "Ubiquitous Automation" and all that :-) > > > markus > Hugh