Re: Low level C interaction (Specifically OpenGL)



I read the juicy bits of the CMUCL manual last night & managed to
convert my simple list drawing code into simple array drawing code.
When you say "I did find that using foreign structures in CMUCL to be
very slow and went to using malloc and arranging things directly in
memory for one performance bottleneck that I had."
Were you creating alien objects, manipulating them & then passing them
to C? I am planning on trying to use Lisp data (such as make-array) of
the correct type and then passing them to C as you previously described
- though I guess that I am probably best to try and keep all this
pretty abstract for now.

Good tip about the GC - I guess it is common for Lisps to use copying
collectors?

Cheers
Brad

.