~/talk

Using Rust from C... or Any Language

Talkat RustCamp 2015 · on Saturday, 2015-08-01· [rust]
slides:none on file

Rust code compiles into a C-callable library and the claim is that production FFI is doable and safer than C++ after a year of work on Skylight where Ruby pieces and a daemon move to Rust and the daemon runs as 8MB stable processes. Practical tools: extern "C" signatures, opaque pointers treated as void for non‑numeric types, boxing/borrowing rules, and runtime checks via small ownership macros. Expect to catch panics at the boundary and document ownership rather than rely on prose.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50What is Rust
  3. 2:57Skylight
  4. 13:45Ownership
  5. 14:15Trace ID
  6. 15:38Shared Type
  7. 16:54Trace Object
  8. 18:10Example
  9. 19:30Portability
  10. 20:19Wrapping
  11. 20:39The Boring Part
  12. 21:44The Example
  13. 23:38Ampersands
  14. 25:56The Right Way
  15. 26:34Optional Step
  16. 28:24Things I didnt cover
~/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.