Joe Corcoran stellt das Thema vor

Ruby on Rust

Ever wanted an excuse to explore Rust? Let's use Fiddle – the foreign function interface class from the Ruby standard library – to call functions from a Rust library.

We'll take a quick look at what FFI is for, the history of libffi wrapping in the Ruby stdlib, and how Fiddle compares to the FFI gem.

Then we'll see how to use Fiddle to connect Ruby with dynamic libraries written in Rust, thanks to Rust's C ABI.