Of course it's fixable in principle, but is it fixable in the context of File just being a wrapper around the C stdlib file IO? I personally don't care if File wraps OS-specific APIs instead of the C stdlib API, but I thought that for whatever reason (maybe the reason was just ease of implementation) File was supposed to only be a thin wrapper over standard C I/O.<br>
<br><div class="gmail_quote">On Fri, Mar 5, 2010 at 3:53 PM, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:andrei@erdani.com">andrei@erdani.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I see. At a point there was a long discussion between Sean and me about how we can fix that problem. I forgot the conclusion. Anyway, I know the matter can be fixed and at some point I even had a draft fix.<br>
<br>
Andrei<br>
<br>
David Simcha wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
(Bangs head against wall.) Sorry, meant 3409, 3410.<br>
<br></div><div class="im">
On Thu, Mar 4, 2010 at 4:39 PM, Andrei Alexandrescu <<a href="mailto:andrei@erdani.com" target="_blank">andrei@erdani.com</a> <mailto:<a href="mailto:andrei@erdani.com" target="_blank">andrei@erdani.com</a>>> wrote:<br>
<br>
I'm confused. 2409 is about delegates and 2410 also looks unrelated.<br>
I must be missing something.<br>
<br>
FWIW I recall I did solve the large file issue.<br>
<br>
<br>
Andrei<br>
<br>
David Simcha wrote:<br>
<br>
<br>
<br>
On Thu, Mar 4, 2010 at 3:40 PM, Steve Schveighoffer<br>
<<a href="mailto:schveiguy@yahoo.com" target="_blank">schveiguy@yahoo.com</a> <mailto:<a href="mailto:schveiguy@yahoo.com" target="_blank">schveiguy@yahoo.com</a>><br></div><div class="im">
<mailto:<a href="mailto:schveiguy@yahoo.com" target="_blank">schveiguy@yahoo.com</a> <mailto:<a href="mailto:schveiguy@yahoo.com" target="_blank">schveiguy@yahoo.com</a>>>> wrote:<br>
<br>
Will there be an unbuffered interface to file handles?<br>
std.stdio.File wraps a FILE* which I find substandard. I don't<br>
think D should be relying on C buffering for D-only constructs.<br>
<br>
I actually find the whole notion of relying on libc a little<br>
suspect, even for the standard handles.<br>
<br>
<br>
You will find it a lot suspect if you try to work with files<br>
over 2 GB. See bugs 2409 and 2410.<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
<br>
_______________________________________________<br>
phobos mailing list<br></div>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a> <mailto:<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a>><div class="im"><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
<br>
_______________________________________________<br>
phobos mailing list<br></div>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a> <mailto:<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a>><div class="im"><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</div></blockquote><div><div></div><div class="h5">
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</div></div></blockquote></div><br>