Subject: [ruby-ffi] Re: Using a 32-bit C library from 64-bit Ruby |
From: Wayne Meissner |
Date: 9/28/12 4:46 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?