~/talk

We can have nice things

Talkat RustFest LATAM 2022 · on Saturday, 2022-02-26· [rust]
slides:none on file

Claim: legacy system code can be incrementally replaced with Rust while keeping the C ABI and build chain working. Method: annotate structs with repr(C), expose functions with no_mangle extern "C", build a static library via cargo and link from C. Example: Rust can reorder fields to shrink struct size but must match C layout when needed. Case study: LibreSVG begins Rust work in 2016, porting a ~30,000 lines C codebase, test coverage and CI cause source to grow yet contributors to old C code drop to zero and the rewrite succeeds.

AI-written summary · about

  1. 0:00Intro
  2. 1:50Federico Mena
  3. 7:20History of software
  4. 11:14The 90s
  5. 16:09The nice things
  6. 17:58A horror story
  7. 23:02Git
  8. 25:17Reusable environments
  9. 27:17Rewrite it in Rust
  10. 29:46What have we learned
  11. 30:12Continuous integration
  12. 30:52Integrating Rust into C
  13. 38:20Conclusion
~/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.