On Thu, 18 Jan 2007, Shot (Piotr Szotkowski) wrote:

> Thanks a lot for your reply, Ed!
>
> M. Edward (Ed) Borasky:
>
>> Are you allowed to use existing open source C/C++ libraries for the
>> low-level operations, or do you need to implement the whole thing
>> yourself?
>
> I'm allowed to use anything I want. My supervisor created a couple
> of C++ libraries that he thinks I might reuse (but I don't have to).
>
>> I'd recommend a hybrid approach -- find some libraries
>> that do the hard stuff and wrap them in Ruby using SWIG.
>
> Thanks for pointing out SWIG (I'm still a total newbie in the whole
> Ruby/OCaml <-> C/C++ interface possibilities, unfortunately; I should
> read a lot more on this, but have to make some desions this weekend...).

http://sciruby.codeforpeople.com/sr.cgi/RubyRamblings/Ramblings_0
http://sciruby.codeforpeople.com/sr.cgi/ProjectIdeas/RubyOCaml

>
> Tempting, again. It seems I'll read up on SWIG a bit this weekend. :)
>

don't forget about ruby/dl.  you can simply call c functions directory with
zero glue code that way.

-a
-- 
in the practice of tolerance, one's enemy is the best teacher.
- the dalai lama