
Book 1 of the GDCD in Code series. Why an enterprise architect chooses Rust, and how to govern it with contracts. The book separates what the compiler really proves, what tooling must enforce around it, and what people and operations still own: the decision record and its renewal, when not to use Rust, unsafe and FFI as signed exceptions, verification, the toolchain and dependency pins, the admission gate for the supply chain, the public API promise, shipping binaries and images, and running on Kubernetes. It includes templates and a small reference service you can rebuild and measure.
What's inside
- Why This Book
- Own the Bits: What Rust Changes and What It Does Not
- The Decision Record and Its Renewal
- When Not to Use Rust
- The Compiler Contract
- The Exception Contract: Unsafe, FFI and Build-Time Code
- The Verification Contract
- The Pin: Dependencies and Toolchain
- The Admission Gate
- The Interface Promise
- Shipping the Artifact
- Running Under Contract
- The Operating Model
- Appendix A: Templates and the Reference Service
- Appendix B: The Three Tiers in Other Languages
- Appendix C: Glossary and Source Register
Read the companion essay to this guide: on the blog ›