From: Florian Gross Date: 2005-01-01T10:01:42+09:00 Subject: Re: wrapping Ruby around OLD code Tim Hunter wrote: > It's hard to say how much of a chore it would be without knowing more about > your code. In general it is easier to write Ruby extensions than it is to > write Python extensions. > > I assume your "old" code is written in C. (If it isn't C or C++ I think > you're out-of-luck.) I think that it could be a minor burden, but usually it should not be too much of a big problem. If the old code is written in Pascal or Delphi there is the Apollo bridge (though I'm not sure how active that project is nowadays, see http://www.moriq.com/apollo/index-en.html) and even if that fails to meet the requirements it should not be too hard to bridge your code to C and to Ruby from there. .NET might be a help there as it bridges lots of different languages (Ada, Fortran, Basic etc.) in case you are on Windows -- I'm not sure about how many languages Mono already supports. I'm not an expert at this area, but tasks like these seem to be possible in the general case.