Re: Low level C interaction (Specifically OpenGL)
- From: "bradb" <brad.beveridge@xxxxxxxxx>
- Date: 29 Sep 2005 11:32:04 -0700
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
.
- Follow-Ups:
- Re: Low level C interaction (Specifically OpenGL)
- From: Brad Might
- Re: Low level C interaction (Specifically OpenGL)
- References:
- Low level C interaction (Specifically OpenGL)
- From: bradb
- Re: Low level C interaction (Specifically OpenGL)
- From: Brad Might
- Re: Low level C interaction (Specifically OpenGL)
- From: bradb
- Re: Low level C interaction (Specifically OpenGL)
- From: Brad Might
- Low level C interaction (Specifically OpenGL)
- Prev by Date: Re: lisp function questions
- Next by Date: Re: A simple interpreter
- Previous by thread: Re: Low level C interaction (Specifically OpenGL)
- Next by thread: Re: Low level C interaction (Specifically OpenGL)
- Index(es):