[phobos] Removing std.stdio.File.popen()

David Simcha dsimcha at gmail.com
Mon Aug 16 10:08:01 PDT 2010


Well, I don't really know for sure.  All I know is that the standard C API
for file I/O does weird things on 32-bit Windows and Linux with files >= 2
GB, and takes ints in places where a properly designed API would take
something wider.  Phobos merely propagates the defects of the underlying C
API.

On Mon, Aug 16, 2010 at 1:05 PM, Andrei Alexandrescu <andrei at erdani.com>wrote:

> David Simcha wrote:
>
>> ...not to mention that on 32-bit standard C FILE*s are 32-bit and do weird
>> things when you get over the 2GB mark.  IMHO this is by far the biggest
>> problem with them.
>>
>
> I don't understand this. So are you saying that the FILE pointer itself has
> issues?
>
> By and large, I dislike playing nice with FILE* as much as the next guy but
> I've looked into this many times and couldn't find a way to either play nice
> with C libraries, or downgrading the importance of doing so.
>
>
> Andrei
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100816/cfb7d614/attachment.html>


More information about the phobos mailing list