Newsgroups: comp.graphics.rendering.raytracing
From: Matt Pharr <m...@pharr.org>
Date: Mon, 09 May 2005 18:37:59 GMT
Local: Mon 9 May 2005 19:37
Subject: Re: Mini ray tracer
tbp...@gmail.com writes: I think the point was to have some fun and to make a little demo that shows > Jon Harrop wrote: >> I then cut this program down to a 66-line OCaml program and ported it > into a >> 97-line C++ program. These programs are compared on this page: >> http://www.ffconsultancy.com/free/ray_tracer/comparison.html > [demonstration that "inline" vector math makes C++ programs faster > If your point was to show how to write unbelievably inneficient code in how a functional language like OCaml can give rise to nice short expressive programs while still delivering competitive performance. And for those goals, the OP succeeded! Note also that he mentions on his web page that he's doing this for "the Specifically: >> about The Language Shootout Benchmarks I've at least had some fun looking at his implementation! >>Our goals are to learn about programming languages, compare their -matt You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||