yajl for JRuby?

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

yajl for JRuby?

by manalang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anyone know if there's a yajl equivalent for JRuby (http://lloyd.github.com/yajl/) -- there's one for Ruby (http://github.com/brianmario/yajl-ruby).  I'd love to use something like yajl in JRuby for a cometd/bayeux project I'm working on.

Thanks!

Rich

Re: yajl for JRuby?

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A binding to YAJL specifically? None I know of. The best options I
know are the ones you know: the json-jruby gem and it's ilk...

Why don't these extension authors embrace the power and beauty of FFI?

On Fri, Oct 30, 2009 at 12:24 PM, Rich Manalang <rich.manalang@...> wrote:
> Anyone know if there's a yajl equivalent for JRuby
> (http://lloyd.github.com/yajl/) -- there's one for Ruby
> (http://github.com/brianmario/yajl-ruby).  I'd love to use something like
> yajl in JRuby for a cometd/bayeux project I'm working on.
>
> Thanks!
>
> Rich
>

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

    http://xircles.codehaus.org/manage_email



Re: yajl for JRuby?

by manalang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good news from the yajl-ruby author:

I actually have an FFI branch I've been working on when I have time. The goal is to have a fully 1:1 compatible version of the API working with FFI instead of the C extension. JRuby is the primary target for that goal, but it may even work better under Rubinius as well.

I have the parser mostly working under the FFI branch, but need to wrap up a few things. Then I'll get started on the encoder.

Rich
 


On Fri, Oct 30, 2009 at 1:37 PM, Charles Oliver Nutter <headius@...> wrote:
A binding to YAJL specifically? None I know of. The best options I
know are the ones you know: the json-jruby gem and it's ilk...

Why don't these extension authors embrace the power and beauty of FFI?

On Fri, Oct 30, 2009 at 12:24 PM, Rich Manalang <rich.manalang@...> wrote:
> Anyone know if there's a yajl equivalent for JRuby
> (http://lloyd.github.com/yajl/) -- there's one for Ruby
> (http://github.com/brianmario/yajl-ruby).  I'd love to use something like
> yajl in JRuby for a cometd/bayeux project I'm working on.
>
> Thanks!
>
> Rich
>

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

   http://xircles.codehaus.org/manage_email




Re: yajl for JRuby?

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 30, 2009 at 5:35 PM, Rich Manalang <rich.manalang@...> wrote:
> Good news from the yajl-ruby author:
>
>> I actually have an FFI branch I've been working on when I have time. The
>> goal is to have a fully 1:1 compatible version of the API working with FFI
>> instead of the C extension. JRuby is the primary target for that goal, but
>> it may even work better under Rubinius as well.
>>
>> I have the parser mostly working under the FFI branch, but need to wrap up
>> a few things. Then I'll get started on the encoder.

Well that's good! For anyone who wants to use the library, it will be
available at least.

- Charlie

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

    http://xircles.codehaus.org/manage_email