~/talk

How to call C libraries from C++

Talkat CppCon 2014 · on Wednesday, 2014-09-10· at 14:00· Euler· [rust]
links:none on file
slides:none on file

Shows a concrete method and a tiny support library for converting POSIX APIs into idiomatic C++: a short set of design rules (type-for-type, function-for-function, ownership via unique_…), automation that generates wrappers (Plus+ / p7 invoke and Caesar/wrapper hooks), and examples that turn raw sockets into unique_socket with enum wrappers and explicit close semantics. Demonstrates how many repetitive conversions are automated, what must be provided by hand, and that the wrapped server example fits on one slide.

AI-written summary · about

  1. 0:00Start
  2. 9:12Design rules for names
  3. 12:02Design rules for types
  4. 14:25Design rules for conversions
  5. 15:36Design rules for parameters
  6. 17:38Design rules for results
  7. 24:15Mostly, a computer can do that.
~/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.