~/talk

C++ ♥ Python

Talkat Core C++ 2024 · 2024-11-26..11-28· [python, c-and-cpp]
links:none on file
slides:none on file

Compares concrete bindings and benchmarks: looped Python sum is ~4× slower than built-in sum; NumPy sum on native NDArrays runs 21× faster than Python but suffers huge copy overhead when fed Python lists; PyTorch moves big tensor multiplies from ~40s on CPU to 0.047s on GPU but PCIe copy back makes end-to-end 31s; naïve pybind11 bindings add seconds of overhead (C++ 4ms vs pybind11 5s) unless batched and using NumPy buffers; CPPYY runs C++ via cling dynamically and avoids binding boilerplate while matching native performance.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:53Surveying language usage
  3. 4:37Python's appeal
  4. 5:58Modern C++ and Python
  5. 9:45Risks of interpreted code
  6. 15:48Mitigating Python risks
  7. 19:31Optimizing Python performance
  8. 25:33AI models with PyTorch
  9. 29:00Extending CPython
  10. 34:31Static binding tools
  11. 43:30Cython and integration
  12. 51:05Dynamic binding with cppyy
  13. 56:52Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.