Bringing Rust Home�to Meet the Parents
Jeremy Fitzhardinge�Facebook
jsgf@fb.com
About me
Bringing Rust to Facebook
Rust’s 10x advantage
Rough rule of thumb: A new language needs to be ~10 times better at something than any of the existing languages to make it worth the effort of introducing and supporting it.�
Rust detects large classes of serious bugs at compile time.��The cost of a bug at compile time is orders of magnitude less�than in production.
Case study: Mononoke
Mononoke production experience
�Good enough to justify further investment in Rust
The FB Environment
How does Rust fit into all this?
Rust view of the world
How to retain Rust’s essential benefits while working within a wider ecosystem?
Cost of bugs
Open Challenge: How to quantify the cost of bugs which didn’t happen?
Expressiveness and review
Some secondary benefits:
Surprise converts: dynamic language users
Advantage: responsive CLIs and cross-platform
Supporting new Rustaceans
Building a community
Rust - not just for fans
Where are we now?
Solid starting point:
Where are we now?
But:
This journey is 1% finished.��Want to help? We’re hiring!
EXTRA
Challenges for Rust adoption
Language Diplomacy
The Tao of Buck
Testing
Third Party Code
RLS