AWS engineer builds Rust lease client with lowest bug density of his 30-year career
FlolightC · x · 2026-12-02
AWS engineer Marc Brooker's new blog post uses a Rust distributed lease/lock client (backed by Aurora DSQL or DynamoDB) as a worked example of modern best practices for building correct systems software.
Key techniques covered:
- Formal proof
- Model checking
- Simulation testing
- Mutation testing
Brooker claims this is likely the lowest bug-density code he has written in 30 years — despite never reading or reviewing a single line of the implementation. He also argues this isn't overengineering: low-level components like this have enormous leverage, so bugs propagate to everything built on top.
More from coding & agent
- krishnan: rebuild your agent workflow in a clean environment before expanding contracts — krishnan · 2026-12-02
- krishnan's 6-post teardown of Mistral Studio: running AI isn't operating it — krishnan · 2026-12-02
- Mistral Studio expansion promises inspectable workflow code and OpenTelemetry traces — krishnan · 2026-12-02
- BotPings: free iPhone app uses remote MCP to ring your phone when an agent needs help — EngineerVal · 2026-12-02
- After 7 months running role-bot teams, one dev switched to single agents with skills — research agrees — myLifeintheStack · 2026-12-02
- How do you vet a new tool before your agent calls it in production? — Wezabis2 · 2026-12-02