~/talk

Taking Rust to Production: Lessons Learned From the Habitat Project

Talkat RustFest Kyiv 2017 · 2017-04-29..04-30· [rust]
slides:none on file

Habitat is a production system built in Rust: a process supervisor, a gossip subsystem, CLI tools and a distributed build system totaling about 40,000 lines of Rust. It uses libarchive, libsodium, OpenSSL (being replaced by rustls), musl for static, statically linked 8MB binaries, Cargo workspaces to speed builds, clap for CLI parsing, and cross‑platform targets. The stack runs in production (website and depot included) and the approach proves practical.

AI-written summary · about

  1. 0:00Intro
  2. 2:20provides realtime service configuration
  3. 3:57Why Rust?
  4. 4:16This question comes up...
  5. 7:01Code reuse and sharing
  6. 8:18Bonus: CLI tools
  7. 10:17How Habitat Uses Rust
  8. 12:29Static-compilation
  9. 18:22Share build outputs and lockfile
  10. 19:47Common versioning
  11. 22:44Crate dependencies
  12. 23:38Dependency strategy: aggressive
  13. 25:38Cross platform codebase
  14. 25:57Onboarding team members
  15. 31:57Rust pain points
  16. 32:24Hint: Cargo workspaces
  17. 32:49Cross platform code paths
  18. 33:02Hint: Continuous Integration
  19. 33:14Rust is too fast?
  20. 34:00Hint: Think about synchronization points
~/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.