Using jruby-ffi

View: New views
5 Messages — Rating Filter:   Alert me  

Using jruby-ffi

by Praki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Folks,

I need to use win32ole library through JRuby. I have not found any samples or docs on jruby-ffi. Could some kind soul point me in the right direction.

Thanks

Re: Using jruby-ffi

by Vladimir Sizikov-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Praki,

The JRuby-FFI thing is brand new and there is not much documentation
about it exists yet (there are some samples in JRuby trunk, some
benchmarks, and a couple of libraries using FFI already, like zlib and
syslog, so you could look at them for the reference). Please also note
that the API is not yet finalized.

Wayne Meissner (the author of the JRuby-FFI code) would probably
provide some docs/blog posts on the matter, at least I begging him for
that daily! :)

Thanks,
  --Vladimri

On Fri, Aug 1, 2008 at 4:45 PM, Praki <praki.prakash@...> wrote:

>
> Hi Folks,
>
> I need to use win32ole library through JRuby. I have not found any samples
> or docs on jruby-ffi. Could some kind soul point me in the right direction.
>
> Thanks
> --
> View this message in context: http://www.nabble.com/Using-jruby-ffi-tp18775932p18775932.html
> Sent from the JRuby - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Using jruby-ffi

by Praki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Vladimir,

Thanks for your reply. I will take a look at zlib and syslog and see if I can make some progress.

Thanks
Vladimir Sizikov-2 wrote:
Hi Praki,

The JRuby-FFI thing is brand new and there is not much documentation
about it exists yet (there are some samples in JRuby trunk, some
benchmarks, and a couple of libraries using FFI already, like zlib and
syslog, so you could look at them for the reference). Please also note
that the API is not yet finalized.

Wayne Meissner (the author of the JRuby-FFI code) would probably
provide some docs/blog posts on the matter, at least I begging him for
that daily! :)

Thanks,
  --Vladimri

On Fri, Aug 1, 2008 at 4:45 PM, Praki <praki.prakash@gmail.com> wrote:
>
> Hi Folks,
>
> I need to use win32ole library through JRuby. I have not found any samples
> or docs on jruby-ffi. Could some kind soul point me in the right direction.
>
> Thanks
> --
> View this message in context: http://www.nabble.com/Using-jruby-ffi-tp18775932p18775932.html
> Sent from the JRuby - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Re: Using jruby-ffi

by Wayne Meissner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can also look at http://pluskid.lifegoo.com/?p=370

Everything there _should_ work, except for the vararg functions (not
implemented yet).

If you find something that doesn't work, please put in a JIRA issue
for it.  If you get stumped on something, feel free to ask here.

And be prepared for API change pain - some areas are still in flux as
we standardize the api.


2008/8/3 Praki <praki.prakash@...>:

>
> Hi Vladimir,
>
> Thanks for your reply. I will take a look at zlib and syslog and see if I
> can make some progress.
>
> Thanks
>
> Vladimir Sizikov-2 wrote:
>>
>> Hi Praki,
>>
>> The JRuby-FFI thing is brand new and there is not much documentation
>> about it exists yet (there are some samples in JRuby trunk, some
>> benchmarks, and a couple of libraries using FFI already, like zlib and
>> syslog, so you could look at them for the reference). Please also note
>> that the API is not yet finalized.
>>
>> Wayne Meissner (the author of the JRuby-FFI code) would probably
>> provide some docs/blog posts on the matter, at least I begging him for
>> that daily! :)
>>
>> Thanks,
>>   --Vladimri
>>
>> On Fri, Aug 1, 2008 at 4:45 PM, Praki <praki.prakash@...> wrote:
>>>
>>> Hi Folks,
>>>
>>> I need to use win32ole library through JRuby. I have not found any
>>> samples
>>> or docs on jruby-ffi. Could some kind soul point me in the right
>>> direction.
>>>
>>> Thanks
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Using-jruby-ffi-tp18775932p18775932.html
>>> Sent from the JRuby - Dev mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Using-jruby-ffi-tp18775932p18789904.html
> Sent from the JRuby - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Using jruby-ffi

by Praki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Wayne. The article you point to is very helpful.

Praki
Wayne Meissner wrote:
You can also look at http://pluskid.lifegoo.com/?p=370

Everything there _should_ work, except for the vararg functions (not
implemented yet).

If you find something that doesn't work, please put in a JIRA issue
for it.  If you get stumped on something, feel free to ask here.

And be prepared for API change pain - some areas are still in flux as
we standardize the api.


2008/8/3 Praki <praki.prakash@gmail.com>:
>
> Hi Vladimir,
>
> Thanks for your reply. I will take a look at zlib and syslog and see if I
> can make some progress.
>
> Thanks
>
> Vladimir Sizikov-2 wrote:
>>
>> Hi Praki,
>>
>> The JRuby-FFI thing is brand new and there is not much documentation
>> about it exists yet (there are some samples in JRuby trunk, some
>> benchmarks, and a couple of libraries using FFI already, like zlib and
>> syslog, so you could look at them for the reference). Please also note
>> that the API is not yet finalized.
>>
>> Wayne Meissner (the author of the JRuby-FFI code) would probably
>> provide some docs/blog posts on the matter, at least I begging him for
>> that daily! :)
>>
>> Thanks,
>>   --Vladimri
>>
>> On Fri, Aug 1, 2008 at 4:45 PM, Praki <praki.prakash@gmail.com> wrote:
>>>
>>> Hi Folks,
>>>
>>> I need to use win32ole library through JRuby. I have not found any
>>> samples
>>> or docs on jruby-ffi. Could some kind soul point me in the right
>>> direction.
>>>
>>> Thanks
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Using-jruby-ffi-tp18775932p18775932.html
>>> Sent from the JRuby - Dev mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Using-jruby-ffi-tp18775932p18789904.html
> Sent from the JRuby - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email