Version française
Home     About     Download     Resources     Contact us    
Browse thread
Array 4 MB size limit
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brian Hurt <bhurt@s...>
Subject: Re: [Caml-list] Array 4 MB size limit


On Fri, 19 May 2006, Frederick Akalin wrote:

> I think that's an awfully simplistic point of view.  My problem is that I 
> want to store more than 4 million items in an array.  You're suggesting 
> moving to 64 bits?  And even if everyone magically moves to 64 bits, I can 
> imagine that in the future someone will want to read more than 2^(64 - 10) 
> items from a file into memory, as 64 bits isn't quite "number of atoms in the 
> universe" big yet.

And in 20 years or so, assuming Moore's law holds, we'll need to 
transition to 128-bit architectures.  Servers should probably transistion 
a little sooner, maybe 15 years out.

Of course, a large hunk of my annoyance here is comming from C-99 and long 
long- breaking conformant code in a desperate (and- might I add- futile) 
attempt to patch broken and non-conformant code around what will be a 
temporary problem (the only question left is the definition of temporary). 
Eventually, just going to 64 bits will be the solution- just like just 
going to 32 bits was the solution to the 640K limit.

Brian