James Long | 4 Jun 18:22

Pre-Scheme Raytracer

Sure thing.  I took out the pre-made Scheme48 images also, which were  
the biggest files in the tarball.  You'll have to make your own Pre- 
Scheme compiler image (you would have needed to do this anyway if  
using a different version of Scheme48) if you need to compile  
schemeray.  A pre-made i386 Mach-O binary is included.

For those of you just tuning in - here is a raytracer I wrote in Pre- 
Scheme.  It is a rough sketch of something I've been wanting to do.   
It has a few serious flaws, mainly that it doesn't clean up after  
itself.  The general malloc'ing/free'ing activity is poorly optimized  
and handled.  I'm working on turning a lot of the vector operations  
destructive, and making sure I free what I allocate.  This should make  
it run faster.

There are also a bunch of optimizations I want to make.  It still runs  
rather well - about twice as fast as the equivalent Gambit-C program.   
This is to be expected, of course, as we aren't running through any  
kind of virtual machine.

Attachment (prescheme-ray-0.1b.tgz): application/octet-stream, 21 KiB

- James

On Jun 4, 2008, at 2:18 AM, Michael Sperber wrote:

>
> This is great.  I'd love to forward this to the mailing list, but the
> attachment is too big for that.  Would you be willing to resubmit  
(Continue reading)


Gmane