Search code examples
streamd

D: What about streams?


D seems like a language with very high potential and I'm highly interested in what the future holds for it. I'm curious though, is there any discussion about including streams in D? The C++ streams have been of great help to me in the past and they seem a lot cleaner than using functions like printf/writefln or whatever.


Solution

  • There's currently talk of deprecating the current std.stream design and rewriting it. Andrei Alexandrescu posted the interfaces for a proposed new design based on D2's ranges awhile back. Unfortunately the community is short on manpower and trying to get a whole bunch of other library support working, like networking, parallelism, database APIs, containers, etc. Streams are on the agenda, but not on the front burner.