[gambit-list] Call for brains!

Bradley Lucier lucier at purdue.edu
Wed May 21 12:04:35 EDT 2014


On May 21, 2014, at 9:15 AM, Tomas Möre <tomas.o.more at gmail.com> wrote:

> 
> 
> Since modern OpenGL requires some hefty matrix math I need to make a matrix math library.
> Since I want this to be multi platform compatible and easy to use even in the interpreter. I have to do all this in scheme. 
> (Except we're forced to allocate the the scheme binary vectors in c to make them not move during garbage collection)
> 
> But back to business!
> I've made the following macro and procedure to test matrix multiplication
> 
> (To test simply copy paste into interpreter)
> 
> But as you will se on the test i've added on the last row of code this is a pretty "slow" procedure.
> 
> The question is, How do you make this quicker?

Model it on tfo-combine in bench/src/nucleic.scm after untarring misc/bench.tgz in the gambit source directory.

Brad




More information about the Gambit-list mailing list