[phobos] I think we need to make an emergency release
schveiguy at yahoo.com
Thu Aug 26 05:12:21 PDT 2010
Let me know what you think.
BTW, can someone who does regular compiling on Windows test this? I know
Appender is ok, but I'm unsure if std/stdio.d compiles right, I updated it, but
I don't have a full installation on a Windows box.
----- Original Message ----
> From: Andrei Alexandrescu <andrei at erdani.com>
> To: Discuss the phobos library for D <phobos at puremagic.com>
> Sent: Thu, August 26, 2010 3:32:14 AM
> Subject: Re: [phobos] I think we need to make an emergency release
> On 8/25/10 14:54 PDT, Steve Schveighoffer wrote:
> > Well, I didn't find any cases requiring that in std.format or std.stdio,
> > they were mostly in unittests. Do you have a better example? Note that
> > performing things like builtin appends on an array allocated by Appender are
> > a good idea, since appender completely ignores and does not update the
> > length properly.
> > Even an explanation of what you plan to do with the data at the same time
> > are appending would be good in lieu of an example. Maybe we can find a
> > design, or provide an unsafe function to get a reference to the
> > array reference for those who want to live on the edge. I just dislike the
> > *requirement* of stepping into unsafe territory just to use Appender. It
> > to go against the spirit of most of Phobos. IMO the default should be the
> > way.
> I think it's fine to require people who use Appender to re-read the string
>after having used it. So feel free to proceed with your design.
> phobos mailing list
> phobos at puremagic.com
More information about the phobos