www.digitalmars.com         C & C++   DMDScript  

D - Streams ?

reply Karim SharifClan.com writes:
Hi.

Let me just say first, I like D and am impressed that somebody actually had the
balls to go against the main stream and take the flak. If MS can just 'create' a

started? Just some person who want something he didn't have, so he made it. If
you don't like it, don't use it!

Furthermore, there is room for such a language. I work in the telecom industry,
and we deal with millions of records each day from thousands of sources (not
necessarily ODBC, sometimes hardware). Having any programming language that
gives me the power of C and the development time / reduction of errors of Java
is a GREAT idea as long as it produces native code. VM's just aren’t an option
for me, I need as many tick of the processor as the OS will give me running MY
code not someone else’s.

Anyway, that's just my two cents, right or wrong. For the real reason of the
post…

I am now in the process of becoming proficient in D and spent the time to make
GNU's zlib available to D apps. I would however very much like to add a wrapper
around the library that fit's into D's streams for ease of use. I have looked at
the stream.d source file and it doesn’t seem to big, but was wandering if
anybody has any docs on it. I didn't find it in the D language specs(then again,
maybe I am blind) and I don’t really feel like drudging through all that code
(just did it with zlib.h :-). 

Just trying to save a little time, thanks!

Karim Sharif
Software Engineer 
Morgan Tariff Managemnt
Karim SharifClan.com
Nov 01 2002
parent Burton Radons <loth users.sourceforge.net> writes:
Karim SharifClan.com wrote:
 I am now in the process of becoming proficient in D and spent the time to make
 GNU's zlib available to D apps. I would however very much like to add a wrapper
 around the library that fit's into D's streams for ease of use. I have looked
at
 the stream.d source file and it doesn’t seem to big, but was wandering if
 anybody has any docs on it. I didn't find it in the D language specs(then
again,
 maybe I am blind) and I don’t really feel like drudging through all that code
 (just did it with zlib.h :-). 
Nope. You don't need to pay attention to much of it - just the Stream class. Note that you're going to have to remove the "private this () { }" line until the next version is released.
Nov 02 2002