Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Array 4 MB size limit
On Friday 19 May 2006 17:28, Jozef Kosoru wrote:
> Yes. 32-bit x86 platform is not going away anytime soon. Given that 512M
> RAM is now standard and 1G RAM is very common for an average PC - having
> a programming language with 4M limit for the array size is like to have
> an 8+3 characters filename limitation on a filesystem using a mainstream
> 300G disk in 2006.

I find it more concerning that array length is a function of the type, i.e. 
different for float array.

> However I understand the techical difficulty to solve  
> this issue - it's pretty annoying anyhow :)

Agreed. Should OCaml's successor have extensible arrays with 64-bit lengths 
and strings as char arrays?

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists