Ruby on Rust

this Topic will be presented by Joe Corcoran

at October Meetup 2015, hosted by Tobias Pfeiffer

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.

6 People like it

Fork me on GitHub!
Become a patron