[Openmcl-devel] Allocate heap and call C question
dankna at accela.net
Tue Jul 6 21:15:49 EDT 2004
I don't have a lot to say on this question, but...
If the language were to be extended, a more Lisp-like way would be to
special form which allocates an object outside the Lisp heap... but
lifetime determined lexically, ie, lasting only until the body of the
executing. Behind the scenes, the deallocation would be done by having
unwind-protect call the appropriate function.
I don't have an opinion yet on whether that would be a good thing;
would certainly be better than using explicit deallocation. You could
implement it yourself, Andrew, fairly easily.
-- Dan Knapp
More information about the Openmcl-devel