This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
klaus.schilling@home.ivm.de writes: > > Is there a straightforward approach to provide support for writing to/read > ing > from gzipped files, and maybe ports in general? Would an interface to JL > Gailly's zlib be useful for that? Python seems to have something in that > direction, but I don't understand how that concept works there, even less > if > a similar concept could apply to guile. > gzip/gunzip can do streaming decompression, you could just open a pipe to gzip for reading or writing. The only case this won't work in is if you need to read or write the same file. Using zlib would be another possible approach, probably harder to implement, but would likely support fuller semantics. - Maciej