Fiddle and Fiddely - red-data-tools/GR.rb GitHub Wiki

GR.rb uses Fiddle, not Ruby-FFI.

Fiddle

Fiddle is a simple libffi wrapper library. It is one of the Ruby Standard Library. So users do not need to install a new gem.

Compared to Ruby-ffi, Fiddle has very limited features.

Fiddley

Fiddley is a compatible layer for Fiddle and Ruby-FFI.

GR.rb contains some of Fiddley's code. But it's a bit different from the original Fiddley.

NOTE: The original Fiddley was licensed under the BSD-2-Clause license. That means this part of GR.rb is licensed under the BSD-2-Clause license. All other parts of GR.rb are licensed under the MIT license.