Writing very large files 50+ GB

wmunger wmunger at gmail.com
Sat Jul 28 18:39:32 PDT 2012


On Friday, 27 July 2012 at 02:33:39 UTC, Era Scarecrow wrote:
> On Friday, 27 July 2012 at 01:50:57 UTC, wmunger wrote:
>> I need to write to a file that is 50 to 250GB on all three 
>> major operating systems.
>>
>> I tried to use the c function pwrite64.  But it is not 
>> available on the Mac.
>>
>> I have seen where some have used the iostream in C++ but this 
>> does not seem to work on the Mac.
>>
>> Is there any way to write in D very large files.  After all I 
>> would rather write in D than wrap C or C++ code.
>>
>> Thank you.
>
>  What are you going to be writing? Depending on the issue, it 
> may be a Filesystem/OS limitation than a language limitation.

both binary and text.  The writes may be larger than 2 GB.


More information about the Digitalmars-d-learn mailing list