Explore the seamless operability between C++11 and Python using pybind11 in this 38-minute talk from EuroPython 2017. Discover how to write Python extension modules in C++ with minimal boilerplate, leveraging compile-time introspection and type inference. Learn to create simple bindings and progress to more complex examples involving iterators, STL data structures, NumPy types, and Python callbacks. Gain insights into the library's internal workings, including its virtual call mechanism and reference counting. Understand how pybind11 offers a lightweight alternative to Boost.Python with additional features like direct support for NumPy arrays.
Overview
Syllabus
Ivan Smirnov - pybind11 - seamless operability between C++11 and Python
Taught by
EuroPython Conference