~/talk

Making Libraries Consumable for Non-C++ Developers

Talkat CppCon 2021 · on Friday, 2021-10-29· at 10:30· online· [developer-experience]
links:none on file
slides:none on file

Concrete checklist of what breaks and what to ship: enumerate interop routes used (C API, COM, FFI, SWIG, JNI, P/Invoke, C++/CLI, cgo, Objective‑C runtime) and show one minimal working example for each; list actual failures found—calling convention mismatch, size_t vs long differences, exception crossing ABI, and ambiguous char encoding (use UTF‑8); explain memory models with costs and fixes (manual vs refcount vs moving GC, GC handles and pinning), cost of chatty callbacks, and insist on explicit docs for ownership, packing, and allocator.

AI-written summary · about

  1. 0:00Intro
  2. 1:30Who am I
  3. 3:35What is interop
  4. 8:10Common approaches
  5. 15:05Assumptions
  6. 17:25GetSize
  7. 19:30Calling Conventions
  8. 26:48ObjectiveC
  9. 28:56Tooling
  10. 29:44Memory Model
  11. 30:22Reference Counting Garbage Collection
  12. 31:43Memory Allocation
  13. 32:32Reference Counting
  14. 34:09NonReference Counting
  15. 38:37Handles
  16. 40:43Memory
  17. 44:55Threat Affinity
  18. 47:00Encoding
  19. 48:18Interop
  20. 49:32Questions
  21. 54:45A Bad Declaration
~/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.