3 ms·
Seconded. I recently wrote a image searching program (find a set of images as sub-images in another set of images) and I wrote most of it in Racket (Scheme dia
by danking00 13y ago
Seconded.
I recently wrote a image searching program (find a set of images as sub-images in another set of images) and I wrote most of it in Racket (Scheme dialect). I wrote the inner loop to calculate the correlation matrix in C and made an FFI call.
I'm not familiar with Ruby's FFI, but I found making FFI calls dead simple in Racket.
- pak 13y agoFFI is also dead simple in Ruby. https://github.com/ffi/ffi https://github.com/ffi/ffi It's pretty much `gem install ffi` and off you go. I've used a Ruby gem [1] that talks to a hashtable storage library via FFI and found it perfectly stable. [1] https://github.com/jmettraux/rufus-tokyo https://github.com/jmettraux/rufus-tokyo