[Ironruby-core] zlib implementation
blowmage at gmail.com
Wed Sep 12 19:58:42 EDT 2007
On 9/12/07, John Lam (CLR) <jflam at microsoft.com> wrote:
> We would love to have a managed implementation since it makes life so
> much easier – especially as we begin the inevitable move to 64 bit in the
> I haven't done the investigation between zlib and System.IO.Compression.
> Are you volunteering, Mike? J
I actually spent a couple hours working through Ruby's Zlib last night
trying to familiarize myself with it. I've never used it before which is
why I asked the question. :)
Right now the two big needs are Zlib and YAML. So here are my uninformed
thoughts. Please correct me.
Zlib:: Determine if we can use System.IO.Compression. If not, we may have
to re-implement zlib in C# or use an existing port if the license is
compatible. A zlib implementation in C# (using System.IO.Compression if
possible) could be useful for other DLR languages, so that's something to
keep in mind.
YAML:: From what I've read about JRuby's YAML implementation, getting it to
work like Syck was a major issue. We could start with Ola's RbYAML once
IronRuby will run it, but we will probably need to build a native library
for performance reasons (just like JRuby did). Long term, the two options I
see are porting Ola's JvYAML, or porting _why's Syck to C#. I'm somewhat
partial to porting Syck so that it can be reused in other languages. I
wonder how much of IronRuby's parser we could re-purpose to get Syck on
> *From:* ironruby-core-bounces at rubyforge.org [mailto:
> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Mike Moore
> *Sent:* Wednesday, September 12, 2007 3:21 PM
> *To:* Eric Nicholson
> *Cc:* ironruby-core at rubyforge.org
> *Subject:* Re: [Ironruby-core] zlib implementation
> I'd assume a managed library for cross platform compatibility. Is anyone
> familiar with the difference between Zlib and System.IO.Compression? Is
> it possible to use wrap System.IO.Compression to get a compatible Ruby
> Zlib lib? Or do we need a new managed Zlib implementation?
> On 9/12/07, *Eric Nicholson* <enicholson at gmail.com> wrote:
> On the ironruby.net page it says that you're looking for a zlib
> implementation. Is that a managed re-implementation of zlib or a managed
> wrapper around the unmanaged zlib library?
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironruby-core