From: "M. Edward (Ed) Borasky" Date: 2006-08-08T22:43:03+09:00 Subject: Re: Profiling Ruby Matrix operations Jan Svitok wrote: > On 8/8/06, M. Edward (Ed) Borasky wrote: >> Apparently there is a SWIG wrapper for GiNaC that generates Python >> bindings for it. It can't be very difficult to port that to Ruby, > > Ruby support in SWIG is not as complete as Python's, mainly regarding > stl and wide strings. So the ease of porting will depend on whether > you encounter any deficiency or not. Anyway, chances are that you > won't. In that case porting should mean just changing swig command > line... > > J. > > I've downloaded their code and I'm looking at it now. I'm rather hampered by not knowing any Python. Meanwhile, are you talking about the *latest* SWIG? I've got 1.3.29, which includes support for "pike", "mono", "lua" and "ocaml" in addition to the more common languages. When I was looking through the SWIG documents, it looked like they had a fairly complete section on the Ruby interface. ANd it doesn't have to work on Windows . :)