An efficient method of calling C++ functions from numba using clang++/ctypes/rbc
The aim of this post is to explore a method of calling C++ library
functions from Numba compiled
functions
--- Python functions that are decorated with
numba.jit(nopython=True)
.
While there exist ways to wrap C++ codes to Python (see Appendix below), calling these wrappers from Numba compiled functions is often not as straightforward and efficient as one would hope.