Comment 1 for bug 1593635

Revision history for this message
Attila Lendvai (attila-lendvai) wrote :

maybe CFFI:USE-FOREIGN-LIBRARY should not be at toplevel, but rather in the startup code of the apps? if so, then it should be documented.

a slight annoyance with that would be that some lisps (IIRC e.g. SBCL) spit out a lot of warnings when the underlying dlsym is not available at the time of the loading (or also at compilation?) of the DEFCFUN.

or maybe CFFI could add some smarts that transparently delays dlopen? e.g. a one-time initialization code delayed until the first use? this would bring in some concurrency headaches, though.