Re: [Ironruby-core] Ruby FFI port

2011-03-31 Thread Charles Strahan
Ryan, I'm *absolutely* interested, but, as much as it shames me to say, the ALT.NET Seattle conference wasn't on my radar until just now. I'm down for next year though, especially if you plan to give an F# workshop. -Charles On Thu, Mar 31, 2011 at 8:40 AM, Ryan Riley wrote: > Are you coming

Re: [Ironruby-core] Ruby FFI port

2011-03-31 Thread Ryan Riley
Are you coming to ALT.NET Seattle? We have an OSS track this year to help people learn how to contribute to projects. Interested? Ryan Sent from my iPhone On Mar 31, 2011, at 2:41 AM, Charles Strahan wrote: > Well, with some really, really ugly hacking, I've managed to get this far > (the f

Re: [Ironruby-core] Ruby FFI port

2011-03-31 Thread Charles Strahan
Well, with some really, *really *ugly hacking, I've managed to get this far (the first example from FFI wiki): irb(main):011:0> module Hello irb(main):012:1> extend FFI::Library irb(main):013:1> ffi_lib FFI::Library::LIBC irb(main):014:1> attach_function 'puts', [ :string ], :int irb(main):0

Re: [Ironruby-core] Ruby FFI port

2011-03-31 Thread Charles Strahan
> I am concerned about one thing though - we need to be able to call function > pointers, but I think that *Marshal.GetDelegateForFunctionPointer* only > supports the STD calling convention. Any thoughts on how we might support > cdecl? Presently, it's not a blocking concern - so I'll cross that b