[Ironruby-core] zlib implementation
John Lam (CLR)
jflam at microsoft.com
Wed Sep 12 20:08:27 EDT 2007
Thanks for looking into these libraries, Mike!
Regarding zlib: it seems like a binary dependency on zlib.net would work. Do you agree?
Regarding YAML: I agree that porting _syck to C# would be a good idea. Does _syck have dependencies on the Ruby parser?
BTW, the IronRuby tokenizer is scheduled for a massive overhaul in the next couple of weeks.
Thanks!
-John
From: Mike Moore [mailto:blowmage at gmail.com]
Sent: Wednesday, September 12, 2007 4:59 PM
To: John Lam (CLR)
Cc: Eric Nicholson; ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] zlib implementation
On 9/12/07, John Lam (CLR) <jflam at microsoft.com<mailto: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 future.
I haven't done the investigation between zlib and System.IO.Compression. Are you volunteering, Mike? :)
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 C#...
http://rbyaml.rubyforge.org/
https://jvyaml.dev.java.net/
http://code.whytheluckystiff.net/syck/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20070912/0c438975/attachment.html
More information about the Ironruby-core
mailing list