Re:Not Lisp again (2009)
by kazinator on Tuesday May 02, 2017 @05:36PM
(#14250856)
It's all manual memory management in the FFI layer, driven by the semantics of the type expressions. The type expression syntax is compiled to a tree of objects. Those objects are walked before and after a FFI call to do the right actions related to memory management, encoding and decoding. Any temporary buffers needed by FFI are cleaned up by it. The Lisp objects going in and out are stock Lisp objects without any special memory management related to FFI.
[ Parent
| on HN ]
There are no comments on this comment yet.