~/talk

How to bring your C++ project to Python land

Talkat Qt World Summit 2019 · 2019-11-04..11-06· [python, c-and-cpp]
links:none on file
slides:none on file

Shows how a C++ codebase becomes a Python extension by comparing approaches and real numbers: hand‑written CPython wrappers, SWIG (generated wrappers balloon to 3490 lines), Boost.Python, and modern tools like pybind11 and the Clang‑driven generator used to produce Shiboken XML type descriptions. Covers ownership and API adjustments, outputs CPython modules, and demos a reimplemented glob: Python glob ~12 s, pathlib ~7–8 s, the C++ accelerated version under <1s, confirming the approach works.

AI-written summary · about

  1. 0:00Introduction
  2. 6:28How to create a Python model
  3. 9:25What about Python
  4. 12:10What is the magic
  5. 14:04Audio Documentation
  6. 16:55C Types
  7. 17:24Sip
  8. 17:54See
  9. 18:27Use case
  10. 18:37glob
  11. 19:06directory
  12. 19:28path
  13. 19:58data directory
  14. 21:14recursive
  15. 22:28summary
  16. 22:58questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.