Subject: Re: [ruby-ffi] Re: Struct/ManagedStruct and GC behaviour |
From: Vladimir Sizikov |
Date: 12/22/09 2:07 AM |
To: ruby-ffi@googlegroups.com |
Hi Luis, On Tue, Dec 22, 2009 at 12:49 AM, Luis Lavena <luislavena@gmail.com> wrote:
Daniel Berger of win32utils project is migrating windows-pr and related tools to use FFI.
Ah, nice! I've been looking into this and even put this task (of win32utils over FFI) in my ever-growing list of TODOs (albeit, closer to the end of the list). It is great to see that Daniel himself is doing this stuff.
DL and Win32API "API" are limited and more C-like than FFI, perhaps a wrapper can be build, but I would suggest talk with win32utils team to avoid overlapping work. Wonder how JRuby is doing that?
Win32API on top of FFI was pretty simple and easy (well, I mean, easy
for Wayne). He posted a link to the implementation one message above.
And now in JRuby it all works, Win32API, win32/resolv, win32/registry.
Power to the FFI! :)
Thanks,
--Vladimir