An open API service indexing awesome lists of open source software.

https://github.com/jonmagic/learn-ruby-ffi

Learn how to use the Ruby FFI gem to call C code from Ruby
https://github.com/jonmagic/learn-ruby-ffi

Last synced: 4 months ago
JSON representation

Learn how to use the Ruby FFI gem to call C code from Ruby

Awesome Lists containing this project

README

          

# Learn Ruby FFI

My goal is to learn how to use the Ruby FFI gem to call C code from Ruby. This includes learning all of the concepts in the [ffi wiki](https://github.com/ffi/ffi/wiki) with the end goal of being able to write Ruby wrappers for advanced C libraries like [libyara](https://yara.readthedocs.io/en/stable/capi.html).