タグ

ffiに関するwalf443のブックマーク (2)

  • edo cabinet – rubykaigi2009

    Here are my slides for the “edo cabinet” talk at the RubyKaigi2009. I presented about Ruby-FFI, Tokyo Cabinet|Tyrant and then rufus-tokyo and Rufus::Edo. These are just slides, here is the english transcript of the actual talk. Many thanks to the RubyKaigi team for organizing this great event ! Special kudos to Leonard Chin for the on-the-fly translations, throughout the 3 days. You’ll find videos

    edo cabinet – rubykaigi2009
  • jrubytips's Wiki - 逆引きRuby-FFI

    RubiniusやRuby-FFIとも互換性のあるJRuby-FFIについてのTipsです。FFIはRubyスクリプトから外部の動的ライブラリ(DLLやso)を呼び出す仕組みです。動的ライブラリを呼び出すためのRuby拡張ライブラリをC言語で書かなくとも、Rubyスクリプトから直接動的ライブラリを利用できるのがメリットです。 Rubinius … http://rubini.us/ Ruby FFI … http://kenai.com/projects/ruby-ffi それぞれの環境でも共通だと思われますが、JRuby trunk上のJRuby-FFIでしか検証していません。JRubyでは内部的にJNA(Java Native Access)を利用してRuby-FFI機能を実現しています。 Ruby-FFIはRubyに対して以下の機能を提供します。 外部ライブラリのロード 外部ライブラ

  • 1