Home
BlueberryFoxtrot edited this page Jan 13, 2017
·
32 revisions
FFI stands for [Foreign Function Interface](https://en.wikipedia.org/wiki/Foreign_function_interface).
This project is ruby-ffi, an FFI implementation for [Ruby](https://en.wikipedia.org/wiki/Ruby_%28programming_language%29).
- Why use FFI – Some good reasons to start playing with Ruby-FFI
- Core Concepts – Fundamental high-level FFI concepts
- Basic usage – Basic usage concept examples underlying Ruby-FFI
- Examples – Real-world(ish) examples
- Windows Examples – Real-world(ish) examples using the Windows API
- Presentations – Talks and Presentations about FFI and related projects
- Mailing list – Ask for support here!
- rdoc – detailed documentation here
- Loading Libraries – Tips on using `ffi_lib`.
- Enums – Using enums with FFI
- Structs – Using structs with FFI
- Pointers – Using pointers (including Strings) with FFI
-
Types – A list of the supported types (like
:int
, etc.) - Binary Data – Handling binary data (e.g. Ruby Strings of Encoding::BINARY) with FFI
- Projects Using FFI – A list of projects using FFI
- Proposal for standard 1.0 API – consolidating the lessons learned