Apparently unsigned types really are necessary

Steven Schveighoffer schveiguy at yahoo.com
Tue Jan 24 15:11:50 PST 2012


On Sun, 22 Jan 2012 23:38:24 -0500, Kagamin <spam at here.lot> wrote:

> On Sunday, 22 January 2012 at 22:17:10 UTC, Marco Leise wrote:
>>> If you ignore type limits, you're asking for trouble. Imagine you have  
>>> 2 gigs of ram and 3 gig pagefile on 32-bit OS. What is the total size  
>>> of available memory?
>>
>> I can use up to 4GB of that in the address space of my application -  
>> the value range of a uint, qed
>
> With PAE it's possible to access more than that. AFAIK some web-servers  
> do it.

The OS supports it, but not on a single process.  You could achieve the  
feat with multiple processes.  But then again, nobody cares about PAE  
anymore, just go 64-bit.

-Steve


More information about the Digitalmars-d mailing list