@rwxrwxrwx Common Lisp is still pretty new to me, so I did not know about this CFFI. Thanks for letting me know! This will definitely make it easier for me to interface with various libraries.
I wonder if GCC can do something similar with libffi? I should look into that.
Summing up, my impression is that ECL and CLASP are better than SBCL when you want to use CL for "orchestrating" the calling of C or C++ libraries, because the overhead is nearly zero.
The business logic will be in Common Lisp, and thanks to macro you can reduce the boilerplate, also creating DSL. But all the hard algorithms will be in C/C++.
Instead, if you had to write an hard algorithm in Common Lisp, SBCL is faster.