Is there a significant difference in speed between a straight C extension and a Ruby/DL interface? Bill On Thu, 28 Oct 2004 06:53:39 +0900, Jamis Buck <jgb3 / email.byu.edu> wrote: > gabriele renzi wrote: > > > that's why people should use ruby/dl, say 'boo' for c bindings ;) > > True. However, Ruby/DL has a compile-time limit (defaults to 10) on the > number of callbacks you can use, which limits its usefulness in > situations where callbacks are needed. This includes the Win32 API (for > winprocs), or SQLite (where callbacks are one way to obtain query results). > > Besides which: Ruby/DL is often touted as a great way to write extension > libraries. Are there any examples of libraries that have been written > using Ruby/DL instead of C? I've never seen any, much to my own > frustration when I would like a good example of Ruby/DL usage. :( > > - Jamis > > -- > Jamis Buck > jgb3 / email.byu.edu > http://www.jamisbuck.org/jamis > >