Subject:
[ruby-ffi] Using a 32-bit C library from 64-bit Ruby
From:
Ivo Wever
Date:
9/28/12 4:02 AM
To:
ruby-ffi@googlegroups.com

Given the differences between the ia32 and x86_64 architectures I suppose this is impossible, but just to verify: is it indeed impossible to use a 32-bit C library in a 64-bit Ruby process using FFI? Would the best solution to this problem be to run a separate 32-bit Ruby process with a DRb server and access the library from the 64-bit Ruby process using DRb?