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
Re: [Caml-list] Runtime overflow and what to do
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-13 (13:25)
From: John Carr <jfc@M...>
Subject: Re: [Caml-list] Runtime overflow and what to do

>Would it be much work to build a 64-bit integers target ?

This tar file contains diffs and new code generation
files for 64 bit SPARC.  You will need to apply the
.diff files with patch and move the other files into
the appropriate directories (replacing the existing
files without the "64" suffix), and probably do some
editing of config/Makefile.  I have not tested this
on Linux.  Contact me if you need help.

If there is a lot of interest I can try to package this
in a more immediately useful form.  I stopped work on
the 64 bit code generator before finishing the packaging.

A note of caution: 64 bits is not necessarily better than 32.
Unlike C, OCaml does not allow you to declare a 32 bit object
in 64 bit mode, so memory use will approximately double.
Performance executing out of cache will improve slightly,
or significantly when using floating point, but the increased
cache miss rate may make the program slower overall.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: