A Crate is Born
· 1h 43m
Bryan and Adam were joined by Oxide colleagues Andrew, Rain, and John to talk about creating a general purpose crate for diffing structures. More generally, how do you know when something new is needed? How do you know when the investment of time to validate an idea is warranted? Software engineering is hard! (And also: general enthusiasm for Rust macros.) In addition to Bryan Cantrill and Adam Leventhal , we were joined by Oxide colleagues, Andrew Stone, Rain Paharia , and John Gallagher . Some of the topics we hit on, in the order that we hit them: Checking in on Bryan's 1 Year Intel CEO…
Chapters
- Checking Bryan's Intel CEO prediction
- Software ambiguity and rewriting decisions
- Blueprints and the update system design
- Blueprints as declarative desired state
- Origins of the manual diff problem
- History of blueprint diffing pain
- Breaking point in diff tests
- Rain proposes the diffus crate
- Diffus strengths and limitations
- Heterogeneous parsers and visitor pattern
- Daft born over a weekend
- Time-boxing exploratory paths
- Adding ignored fields and leaves
- Eager versus lazy diffing tradeoffs
- Rain generalizes Daft, dropping Eq
- Designing generics from real use cases
- No_std design and Diffus opinions
- Lifetimes, covariance and Daft fixes
- Proc macro error handling challenges
- Dropshot macros and span errors
- John's structural blueprint change
- diff_pair method and test readability
- Wrap-up and open source pointers
Speakers
Bryan Cantrill (host), Adam Leventhal (host), Andrew Stone, John Gallagher, Rain Paharia
From the transcript
All right. Five o 'clock. Okay, so before we get started, obviously we can't just rush into context for this conversation. I do feel, is it gauche to do a little checkup on my Intel prediction? I'm sure you can just... Ghost or no, I…