Subject: Re: [ruby-ffi] Rubygame now uses FFI |
From: Charles Oliver Nutter |
Date: 10/25/09 9:19 PM |
To: ruby-ffi@googlegroups.com |
On Sun, Oct 25, 2009 at 1:45 PM, John Croisant <jacius@gmail.com> wrote:
:-DGreetings, FFI-ers I've finally released the first FFI-powered version of Rubygame! I was able to completely eliminate all the C code for Rubygame, which has already made it a lot easier for users on all platforms to install, since no compilation is needed anymore. And of course, there's the added bonus for me of being able to develop in all Ruby.
Congratulations! The promise of FFI coming true!
http://github.com/ffi/ffi-jruby [2] http://github.com/knu/rsdlGems are available on Rubyforge ("gem install rubygame"), and are known to work on MatzRuby (1.8.6, 1.8.7, 1.9.1) as well as JRuby (1.3.1, 1.4.0RC2). However, JRuby users need to first install the ffi stub gem [1] to resolve the gem dependencies. Also, I'm afraid JRuby users on Mac are out of luck until a JRuby equivalent of RSDL [2] is written. [1]
I'm not clear what RSDL is actually needed for. Can you explain? The readme and the minimal .c file was pretty limited in description. - Charlie