参考资料

Hybrid Python/C++ packages, revisited

https://www.benjack.io/2018/02/02/python-cpp-revisited.html

pybind11: how to package c++ and python code into a single package?

https://stackoverflow.com/questions/47599162/pybind11-how-to-package-c-and-python-code-into-a-single-package

Transfer a c++ object between cython and pybind11 using python capsules

https://stackoverflow.com/questions/57115655/transfer-a-c-object-between-cython-and-pybind11-using-python-capsules

Pybind11 — Seamless operability between C++11 and Python (github.com)

https://news.ycombinator.com/item?id=15095757

Transfer a c++ object between cython and pybind11 using python capsules

https://stackoverflow.com/questions/57115655/transfer-a-c-object-between-cython-and-pybind11-using-python-capsules

Crossing the native code frontier

http://serge-sans-paille.github.io/talks/pydata2018/output/index.html

Facts and myths about Python names and values

https://nedbatchelder.com/text/names.html

A Pybind11 Intro based on my Experience Wrapping OpenKarto

https://safijari.github.io/2018/10/13/pybind11-openkarto/

pybind11 cheatsheet documentation

https://github.com/pybind/pybind11/issues/1201

Python Bindings talk for PyHEP

https://github.com/henryiii/pybindings_cc

Code repository for the massively-parallel framework for maximum-likelihood fits, implemented in CUDA/OpenMP

https://github.com/GooFit/GooFit/tree/master/python

cppyy: Automatic Python-C++ bindings

https://cppyy.readthedocs.io/en/latest/index.html

Python custom exceptions in C(++) extensions

https://www.pierov.org/2020/03/01/python-custom-exceptions-c-extensions/

RFC: Replace SWIG with pybind11

https://github.com/tensorflow/community/pull/67