When one uses pybind to create python-c++ bindings, upon compilation pybind creates a *.so
file. AFAIK the compilation step in pybind just uses the c++ compiler, so this should be no different from just regular shared libs that one would create for a normal c++ code. How does the python interpreter introspect into these *.so
files to notice that there are python-compatible modules in them?
1