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
Mini ray tracer
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Julian Brown <brown@c...>
Subject: Re: Mini ray tracer
On 2005-04-28, Jon Harrop <> wrote:
> I just knocked up a little ray tracer in OCaml to test its viability for the 
> shootout:
> Here, it traces a 768^2 image of 66,430 spheres in 22.51s on a 1.2GHz 
> Athlon-Thunderbird and in 7.24s on a 1.8GHz Athlon 64.
> I've boiled it down to 94 LOC and posted it to the shootout mailing list.


Interesting results, but it's kind of unfair to leave optimisation turned
off for g++! What kind of results do you get with, say, -O3 -ffast-math?