www.digitalmars.com         C & C++   DMDScript  

D - zlib for D

reply "Walter" <walter digitalmars.com> writes:
Anyone interested in doing a port?

http://www.gzip.org/zlib/
Jan 28 2002
parent reply "Sean L. Palmer" <spalmer iname.com> writes:
Does it have to be a port or can it be a wrapper?

Sean

"Walter" <walter digitalmars.com> wrote in message
news:a349bc$19e6$1 digitaldaemon.com...
 Anyone interested in doing a port?

 http://www.gzip.org/zlib/

Jan 29 2002
parent reply "Walter" <walter digitalmars.com> writes:
On the one hand, a wrapper is quick & easy, and it's compatible with future
revisions to zlib. On the other hand, zlib has been stable for years and
seems unlikely to change. A port would show that D is capable of efficiently
compiling it (unlike, say, the Java zlib wrapper which relies on a DLL
written in C). I did a port of regexp rather than a wrapper for just that
reason. A port will also expose any weaknesses in D that I need to fix.

-Walter


"Sean L. Palmer" <spalmer iname.com> wrote in message
news:a35on5$264e$1 digitaldaemon.com...
 Does it have to be a port or can it be a wrapper?

 Sean

 "Walter" <walter digitalmars.com> wrote in message
 news:a349bc$19e6$1 digitaldaemon.com...
 Anyone interested in doing a port?

 http://www.gzip.org/zlib/


Jan 29 2002
parent reply Ruslanas Abdrachimovas <anubis 03bar.ktu.lt> writes:
How You think, should it ported "directly" (structured programming) or 
converted to OO concepts.

Ruslanas

Walter wrote:

 On the one hand, a wrapper is quick & easy, and it's compatible with future
 revisions to zlib. On the other hand, zlib has been stable for years and
 seems unlikely to change. A port would show that D is capable of efficiently
 compiling it (unlike, say, the Java zlib wrapper which relies on a DLL
 written in C). I did a port of regexp rather than a wrapper for just that
 reason. A port will also expose any weaknesses in D that I need to fix.
 
 -Walter
 
 
 "Sean L. Palmer" <spalmer iname.com> wrote in message
 news:a35on5$264e$1 digitaldaemon.com...
 
Does it have to be a port or can it be a wrapper?

Sean

"Walter" <walter digitalmars.com> wrote in message
news:a349bc$19e6$1 digitaldaemon.com...

Anyone interested in doing a port?

http://www.gzip.org/zlib/



Jan 30 2002
parent reply "Walter" <walter digitalmars.com> writes:
I'll let whoever wants to do it make that decision!

"Ruslanas Abdrachimovas" <anubis 03bar.ktu.lt> wrote in message
news:3C57B552.7050008 03bar.ktu.lt...
 How You think, should it ported "directly" (structured programming) or
 converted to OO concepts.

 Ruslanas

 Walter wrote:

 On the one hand, a wrapper is quick & easy, and it's compatible with


 revisions to zlib. On the other hand, zlib has been stable for years and
 seems unlikely to change. A port would show that D is capable of


 compiling it (unlike, say, the Java zlib wrapper which relies on a DLL
 written in C). I did a port of regexp rather than a wrapper for just


 reason. A port will also expose any weaknesses in D that I need to fix.

 -Walter


 "Sean L. Palmer" <spalmer iname.com> wrote in message
 news:a35on5$264e$1 digitaldaemon.com...

Does it have to be a port or can it be a wrapper?

Sean

"Walter" <walter digitalmars.com> wrote in message
news:a349bc$19e6$1 digitaldaemon.com...

Anyone interested in doing a port?

http://www.gzip.org/zlib/




Jan 30 2002
parent "Pavel Minayev" <evilone omen.ru> writes:
"Walter" <walter digitalmars.com> wrote in message
news:a39hth$1nnr$1 digitaldaemon.com...
 I'll let whoever wants to do it make that decision!

I'll give it a try.
Jan 31 2002