[info-mcl] digitool (MCL) / clozure (OpenMCL)

Toomas Altosaar Toomas.Altosaar at hut.fi
Thu Oct 11 03:26:51 EDT 2007


>  > 4. I would like to see the compiler improved. In particular, I would 
>>  like to see math be faster, especially floating point math.
>
>I would like to second these requests - being able to do reasonably 
>fast floating point math on data allocated in a static region would be
>quite useful for graphics applications in general.

And for any vector/matrix-based digital signal processing as well. 
Currently in MCL we make calls to external frameworks written in C 
with XCode. We need guarantees that memory isn't moved while the call 
to C is in progress since C writes back directly to the addresses of 
the vector(s) supplied in the FFI call.

If it is technically gc-wise feasible, some macro that would inhibit 
memory from being moved for the object in question:

(with-gc-inhibited (vector1 vector2 vector3)
   (some-FFI-op vector1 vector2 vector3))

If not, then being able to allocate the vectors in static regions 
would be the next best thing.



More information about the info-mcl mailing list