~/talk

"Fine-Grained C++ Interop"

Talkat RustConf 2025 · 2025-09-02..09-05· [compilers-and-language-design, rust]
slides:none on file

Survey of current interop shows concrete tradeoffs: bindgen/cbindgen handle only C ABIs, cxx requires manual FFI modules, Zngur’s IDL can carry size/alignment, and Crubit already auto-generates bindings to hundreds of crates and plans IDL output; fish port required some modules of 13,000 lines rewritten. Pain points are unsafe-everywhere, aliasing C++ references, non-memcopy movable types, and overloads; proposed fixes include compiler-integrated IDL generation, C++-style reference types, and language features like autoref and generalized field projection.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 4:59Current interop tools
  3. 11:25C++ features and Rust limitations
  4. 25:55Handling C++ references
  5. 31:31Calling Rust from C++
  6. 38:27Future of interop and closing
~/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.