Home
BlueberryFoxtrot edited this page Jan 13, 2017
·
4 revisions
h1. Introduction
FFI stands for Foreign Function Interface. This project is ruby-ffi, an FFI implementation for Ruby.
- 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
h1. Help
- "Mailing list":http://groups.google.com/group/ruby-ffi - Ask for support here!
- "rdoc":http://rdoc.info/projects/ffi/ffi - 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
h1. Initiatives
- Projects Using FFI - A list of projects using FFI
- Proposal for standard 1.0 API - consolidating the lessons learned