[Ironruby-core] zlib implementation
Charles Oliver Nutter
charles.nutter at sun.com
Thu Sep 13 19:48:27 EDT 2007
Mike Moore wrote:
> On 9/13/07, *Eric Nicholson* <enicholson at gmail.com
> <mailto:enicholson at gmail.com>> wrote:
>
> Interesting YAML implementation discussion aside...
>
> What's the goal in implementing Zlib on IR? The reason I ask is
> that I'm wondering what level of compatibility we want with the
> canonical implementation. There are a lot of things in the Zlib
> module/classes that are not readily available in
> System.IO.Compresssion (Adler-32 hashes, selectable compression
> levels, etc.). Can we gloss over those and just implement a good
> inflate/deflate capability?
>
>
> I might be okay with not having Zlib in IronRuby when IR is hosted
> within Silverlight (partially because that framework is missing
> System.IO.Compression). But I'd expect IronRuby's Zlib to be 100%
> compatible with MRI's ZLib when used on the desktop and server. 100% or
> as close as we can get it.
>
> Hey Charlie, what are you guys doing for Zlib in JRuby?
Our Zlib is implemented using Java's built-in support for zip
compression. There's a bit of trickery to get it to behave properly, but
it's been working now for 1.5 years without major issues.
And we have our own impls of Adler32 et al.
- Charlie
More information about the Ironruby-core
mailing list