On Tue, 06 Sep 2011 14:07:01 -0400, Martin Nowak <d...@dawgfoto.de> wrote:

On Tue, 06 Sep 2011 19:54:28 +0200, Walter Bright <newshou...@digitalmars.com> wrote:

On 9/6/2011 7:51 AM, Andrei Alexandrescu wrote:
Let's leave the likes of std.xml and std.json in peace, then pick a
naming convention for the new ones and create whole new modules replacing them.

std.xml2

will do fine.

Speaking of xml2 I clearly like to see an attempt of buffered lookahead reading for a stream/stdio overhaul. Writing range adapters with even only fixed lookahead on top of the current stream API is painful.

This is exactly the reason for the overhaul. I'm working on it, and I think my next version will be much more backwards compatible.

See in the proposed documentation readUntil, and look at the byChunk implementation to see how it's used.

The intention was to use the buffer as an expandable scratch space to do things like parsing xml files without copying.

-Steve

Reply via email to