Skip to content
ImagineWorld

OOP to Rust

node_idnode-book_oop-to-rust
node_typenode-book
schema_profileworld.node_book.v1
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityinforms
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the systems field, the work carries object-oriented programmers to Rust — the paradigm translated into ownership — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-publication
compared_byworld-comparison-pillar-j-architecture-design-craft
pillar_membershipJ — architecture_design_craft
book_titleOOP to Rust
book_authorEnzo Lombardi
book_year2025
total_chapters25
total_source_pages663
total_nodes29
source_pdfoop-to-rust_author_enzo-lombardo.pdf
source_pdf_sha2561d7f74a639b4c92c013d6aeb8835494f097b37b367971467a253be2ac97308e0
source_text_output_slugoop-to-rust
ocr_sourceQwen3-VL-8B-Instruct via llama-server (scaffold-ocr-batch-v2; pdftoppm 150dpi grayscale)
ocr_quality_classdraft
verification_statuscleaned
verification_progress{"all_nodes":"cleaned 2026-09-25 (prose read complete; flags listed in CLEANUP_NOTES.md)"}
stitched_bykimi-k3-frontier-transposition-pass
generated_at2026-09-20
pillar_normalizedJ-architecture_design_craft
updated_at2026-10-14T05:45:16Z
verification_note2026-09-25 targeted cleanup pass (Claude Opus 5.5): triage + full prose read of all 29 nodes against page scans where suspect; 50 figures converted to Mermaid/tables (0 raster embeds); Conclusion node restored from OCR; duplicate and missing scan pages documented. Page delimiters retained. Details and open flags in CLEANUP_NOTES.md.
visual_conversion_pages030, 057, 060, 062, 064, 69, 071, 072, 076, 81, 83, 85, 88, 92, 105, 111, 119, 137, 148, 166, 171, 272, 305, 310, 317, 342, 379, 407, 441, 447, 461, 485, 488, 502, 516, 521, 528, 550, 558, 569, 574, 585, 586, 597, 622, 631, 654, 655, 658
asset_count0
cleanup_notesCLEANUP_NOTES.md
local graph

The book runs twenty-five chapters — from the case for Rust through fundamentals, structs and enums, traits, generics, conversions, closures, error handling, collections, modules, macros, the design-pattern translations (replacing inheritance; creational, structural, and behavioral patterns), a translation guide, concurrency (foundations, message passing, async, cancellation, concurrent data structures), testing, unsafe Rust and FFI, and Serde — closing with a where-to-go chapter, a Conclusion, and two appendices (ecosystem and targets; quick reference tables). Self-published (copyright 2025, last edited 2026-01-19, per the scan’s copyright page); no index. Front matter (title, copyright, table of contents, introduction — PDF 001-025) is folded into this node per the front-fold law. Chapter boundaries were mapped empirically via CHAPTER N banners; the printed-page offset (+2 at the front) drifts later in the book.

node-book_oop-to-rust_chapter-01-the-case-for-rust — The Case for Rust

node-book_oop-to-rust_chapter-02-rust-fundamentals-for-oop-developers — Rust Fundamentals for OOP Developers

node-book_oop-to-rust_chapter-03-structs-enums-and-the-death-of-null — Structs, Enums, and the Death of Null

node-book_oop-to-rust_chapter-04-traits-contracts-without-inheritance — Traits: Contracts Without Inheritance

node-book_oop-to-rust_chapter-05-generics-and-monomorphization — Generics and Monomorphization

node-book_oop-to-rust_chapter-06-type-conversions-and-operator-overloading — Type Conversions and Operator Overloading

node-book_oop-to-rust_chapter-07-closures-and-functional-patterns — Closures and Functional Patterns

node-book_oop-to-rust_chapter-08-error-handling-without-exceptions — Error Handling Without Exceptions

node-book_oop-to-rust_chapter-09-collections-and-iterators — Collections and Iterators

node-book_oop-to-rust_chapter-10-modules-visibility-and-crate-structure — Modules, Visibility, and Crate Structure

node-book_oop-to-rust_chapter-11-macros-demystified — Macros Demystified

node-book_oop-to-rust_chapter-12-replacing-inheritance-hierarchies — Replacing Inheritance Hierarchies

node-book_oop-to-rust_chapter-13-creational-patterns-in-rust — Creational Patterns in Rust

node-book_oop-to-rust_chapter-14-structural-patterns-in-rust — Structural Patterns in Rust

node-book_oop-to-rust_chapter-15-behavioral-patterns-in-rust — Behavioral Patterns in Rust

node-book_oop-to-rust_chapter-16-the-translation-guide — The Translation Guide

node-book_oop-to-rust_chapter-17-concurrency-foundations — Concurrency Foundations

node-book_oop-to-rust_chapter-18-message-passing — Message Passing

node-book_oop-to-rust_chapter-19-async-rust — Async Rust

node-book_oop-to-rust_chapter-20-cancellation-and-graceful-shutdown — Cancellation and Graceful Shutdown

node-book_oop-to-rust_chapter-21-concurrent-data-structures — Concurrent Data Structures

node-book_oop-to-rust_chapter-22-testing-strategies — Testing Strategies

node-book_oop-to-rust_chapter-23-unsafe-rust-and-ffi — Unsafe Rust and FFI

node-book_oop-to-rust_chapter-24-serialization-with-serde — Serialization with Serde

node-book_oop-to-rust_chapter-25-where-to-go-from-here — Where to Go from Here

node-book_oop-to-rust_back-conclusion — Conclusion

back_appendix_a_rust_ecosystem_and_targets

Section titled “back_appendix_a_rust_ecosystem_and_targets”

node-book_oop-to-rust_back-appendix-a-rust-ecosystem-and-targets — Appendix A — Rust Ecosystem and Targets

node-book_oop-to-rust_back-appendix-b-quick-reference-tables — Appendix B — Quick Reference Tables

OOP TO RUST

RUST FOR DEVELOPERS WHO THINK IN OBJECTS

ENZO LOMBARDI

Copyright (c) 2025 - Enzo Lombardi Last edited January the 19th 2026

Introduction…17 Who this book is for…17 What you will learn…18 How the book is organized…19 Conventions used in examples…20 The companion repository…21 About the author…22

Chapter 1: The case for Rust …24 What OOP developers gain from Rust …24 Memory safety without runtime overhead …25 Fearless concurrency…26 Explicit handling of absence and failure …29 The production experience …30 What you leave behind …32 No inheritance…32 No runtime reflection…33 Steeper learning curve…33 Mental shifts required …35 Data and behavior separate …35 Ownership is explicit…36 Errors are values…37 Compile time over runtime …38 Expressions over statements…39

When Rust may not be the right choice …40 Key Takeaways…41

Chapter 2: Rust fundamentals for OOP developers …44 Expression-oriented programming …44 Blocks as expressions …45 If and match return values …46 Implications for control flow …48 How expressions enable immutability …49

Default immutability and its consequences …53

Ownership and borrowing: the core insight …54 Moving ownership …56 What actually happens during a move …60 Closures and the move keyword …62 Iteration and consumption …63 Common patterns for working with moves …64 Performance of moves …66 Borrowing through references …68

Lifetimes: how Rust tracks validity …70 Functions returning references …71 Divergent lifetimes …72 Structs holding references …73 Lifetime elision rules …74 The ‘static lifetime …75 Common lifetime mistakes …76

RAII and deterministic destruction …77 The Drop trait and ownership responsibility …78 Drop ordering …80 Guaranteed execution …81 Drop and borrowing interaction …82 Practical uses of Drop …83

The type system as guardian: Send and Sync…87 Stack vs heap: understanding Box, Rc, Arc…88 Box: heap allocation with single ownership…88 Rc: reference counting for shared ownership…89 Arc: Atomic reference counting…90

Interior mutability…91 Cell: mutation for Copy types…92 RefCell: runtime Borrow checking…93 When to use interior mutability…96 Combining Rc and RefCell…99

Core Concepts Covered…103

Chapter 3: Structs, enums, and the death of null…105 Structs as data containers…105 Tuple structs and unit structs…107 Adding behavior with impl blocks…108 Visibility and encapsulation…109

Enums as algebraic data types…110 Modeling state with enums…111 The Option type: absence made explicit…113 The Result type: errors made explicit…116

Pattern matching as control flow…117 Match guards and pattern composition…118 Destructuring in patterns…119 Convenient pattern matching forms…121 Matching on references…122

Putting it together: a domain model…123 What You Have Learned…127

Chapter 4: Traits: contracts without inheritance…130

Defining behavior contracts …130 Method receivers and self …133

Default implementations …135

Trait bounds and where clauses …137 Returning types that implement traits …139

When traits diverge from interfaces …140 Associated types …140 Associated constants …142 Coherence and the orphan rule …145 Object safety and trait objects …145 Supertraits …148

Essential standard library traits …150 Clone and Copy …151 Default …152 Debug and Display …153 Comparison: PartialEq, Eq, PartialOrd, Ord …155

Traits in practice: a notification system …156

Summary …158

Chapter 5: Generics and monomorphization …160

Generic types and functions …160 Generic structs and enums …163 Constraining impl blocks …165

Monomorphization: zero-cost abstraction …166 The trade-off: binary size …167

Trait objects vs generics: the Static/Dynamic trade-off …168 Choosing between static and dynamic dispatch …170 Object safety revisited …171

Associated types in depth …172

Default associated types …176 Generic constraints in practice…176 Chapter Highlights…177 Chapter 6: Type conversions and operator overloading …180 The conversion trait ecosystem …180 From and into …181 Implementing from for your types …182 TryFrom and TryInto for fallible conversions …183 AsRef and AsMut for cheap borrowing …185 Borrow and ToOwned …187 Deref and DerefMut…190 Deref coercion …190 The Deref pattern for smart wrappers …191 Operator overloading via std::ops …193 Arithmetic operators …193 Index and IndexMut …197 Comparison operators revisited …198 String conversions: ToString and FromStr …200 Concepts Explored …202 Chapter 7: Closures and functional patterns …204 Closure syntax and type inference …204 Capture modes …206 Capturing by reference …206 Capturing by mutable reference …207 Capturing by value with move …208 The Fn traits: Fn, FnMut, FnOnce …209 How the compiler chooses …210

Closures as trait objects … 212 Higher-order functions … 214 Closures vs function pointers … 215 Common patterns … 217 Callbacks and event handlers … 217 Lazy initialization … 218 Custom iterators with closures … 219 Essential Points … 220 Chapter 8: Error handling without exceptions … 222 Result as the primary Error channel … 223 Methods on Result … 224 The ? operator and propagation … 225 Error type conversion … 226 Custom Error types … 227 The anyhow and thiserror crates … 229 When to panic (and when not to) … 233 Why panics are not exceptions … 234 Assertions and Debug checks … 237 Error handling patterns in practice … 238 Key Lessons … 239 Chapter 9: Collections and iterators … 241 Vec: the workhorse collection … 241 Capacity and reallocation … 242 Slices as views into collections … 243 String vs &str … 244 Owned vs borrowed strings … 244

String building strategies … 245 UTF-8, bytes, and the meaning of length … 246 HashMap and BTreeMap … 249 Entry API for efficient updates … 250 HashSet and BTreeSet … 251 Other collections: VecDeque, BinaryHeap … 252 The Iterator trait … 254 Iterator adapters … 254 Collecting into different types … 255 IntoIterator and iteration patterns … 256 Implementing Iterator for custom types … 257 fold and reduce patterns … 258 Comparing with Java streams and LINQ … 260 Topics Covered … 261 Chapter 10: Modules, visibility, and crate structure … 263 The module system … 264 Visibility rules … 266 Struct field visibility … 268 Module organization in files … 269 Crates as deployment units … 271 The prelude and re-exports … 273 Organizing larger projects … 274 Comparing with OOP approaches … 276 Recap … 277 Chapter 11: Macros demystified … 279

Why macros exist in Rust…279 Declarative macros with macro_rules!…281 Pattern matching syntax…281 Repetition patterns…283 Macro hygiene…283 The derive attribute…284 Common derive macros…284 How derive works under the hood…285 Procedural macros overview…286 Derive macros…287 Attribute macros…288 Function-like macros…288 When to use macros vs generics vs traits…289 Looking Back…291 Chapter 12: Replacing inheritance hierarchies…293 Why Rust has no inheritance…293 Composition over inheritance…295 Trait hierarchies as capability contracts…299 Enum-based polymorphism…302 The Visitor pattern in Rust…305 The newtype pattern for behavior extension…308 Decision guide: choosing the right approach…309 The Takeaway…312 Chapter 13: Creational patterns in Rust…314 Associated functions as constructors…315

Factory patterns via associated functions…319 The builder pattern…328 Typestate builder pattern…333 Singleton: the controversy and safe alternatives…337 Compile-time initialization with const and static…338 Thread-local storage…339 Lazy initialization with oncelock…340 Dependency injection as alternative…342 Prototype through Clone…344 Combining patterns…348 Patterns Discussed…352 Chapter 14: Structural patterns in Rust…354 Adapter and wrapper types…355 Decorator via trait composition…358 Facade: module-level encapsulation…363 Composite with recursive types…367 Proxy patterns…372 Combining structural patterns…378 Structures Explored…380 Chapter 15: Behavioral patterns in Rust…383 Strategy via trait objects or closures…384 Observer and event systems…388 State machines with enums (typestate pattern)…394 Command pattern…400

Iterator as a first-class pattern…407 Visitor: when and how …413 Behaviors Examined…418 Chapter 16: The translation guide …421 Abstract class to trait with default methods and struct…421 Interface to trait…424 Multiple inheritance to multiple trait bounds…427 Protected members to pub(crate) or pub(super)…433 Virtual dispatch to trait objects …436 Template method to traits with provided methods …440 Quick reference table…443 Patterns that disappear …444 Reference Summary…446 Chapter 17: Concurrency foundations …448 Threads and Thread safety guarantees …448 Send and Sync: the concurrency contracts…450 Arc and Mutex: shared mutable state …453 RwLock: Read-Write synchronization…456 Avoiding deadlocks…458 Complete example: Thread-safe cache …460 Atomic operations…463 Condition variables…465

Scoped threads …467 Foundations Laid …469 Chapter 18: Message passing …470 Channels: mpsc and beyond…471 Synchronous channels and backpressure …473 Beyond standard channels …474 Designing systems with channels …477 Actor-like patterns …480 Choosing between shared state and message passing …483 Complete example: job processing system …484 Messages Delivered …489 Chapter 19: Async Rust …491 The Async/Await model …491 Futures and executors …493 Tokio essentials …494 Async traits …497 Bridging Sync and async code …499 Complete example: async web scraper …501 Async Essentials …504 Chapter 20: Cancellation and graceful shutdown …506 The cancellation problem …507 Cancellation in async Rust …509

Cancellation tokens…511 Structured concurrency…514 Timeout patterns…516 Graceful shutdown orchestration…519 Complete example: task processing service …524 Graceful Endings…529

Chapter 21: Concurrent data structures …532 Atomic operations: the foundation …533 Crossbeam: battle-tested concurrent primitives …536 Lock-free queues…538 Work-stealing deques…540 Epoch-based reclamation …542 Concurrent Hash maps…544 When to use what …546 Complete example: parallel web crawler…549 Structures Surveyed…552

Chapter 22: Testing strategies …554 Unit testing fundamentals…554 Traits as test seams…557 Function parameters over dependency injection …559 Integration testing…560 Testing asynchronous code…561

Property-based testing…562 Test coverage and practical considerations…565 Testing Principles …566 Chapter 23: Unsafe Rust and FFI …568 When unsafe is necessary …569 Unsafe blocks and functions …570 Raw pointers and their guarantees…572 FFI basics: calling c from Rust…573 Exposing Rust to other languages …576 Considerations for mixed codebases …578 Complete example: safe wrapper around c library…580 Boundaries Crossed…583 Chapter 24: Serialization with Serde…585 The Serde model…586 Deriving serialize and deserialize…588 Common attributes…589 Renaming fields…590 Skipping and defaults…591 Flattening and adjacently tagged enums…592 Working with JSON…595 Other formats: TOML, YAML, binary …597 Custom serialization logic …599 Serde in practice: configuration files…601

Serialization Essentials…604

Chapter 25: Where to go from here …606

Domain-specific directions …606 Web development …607 Command-line applications …608 Embedded systems …609 GUI applications …610 Systems programming and infrastructure …610 Data processing and scientific computing …611

The ecosystem: key crates …612

Continued learning resources …614

Building proficiency…616

What this book did not cover …617

Paths Forward …618

Conclusion …620

The shift in perspective …620

What carries over …621

What transforms …622

The Rust mindset…624

Moving forward …625

Final Thoughts …626

Appendix A: Rust ecosystem and targets …628

Targeting WebAssembly …628 Browser integration with wasm-bindgen …629 Size optimization …630

Cross-compilation…630 The cross tool…631 Conditional compilation…632

Cargo power features …633 Workspaces…633 Feature flags…634 Build scripts…635 Custom profiles…635

Common gotchas for OOP developers …636 String vs &str confusion …636 Method resolution and Deref coercion …637 Integer overflow behavior…637 The orphan rule …637 Closure capture modes…638 Partial moves and pattern matching …638 Async and ownership …639 Default trait implementations …640 RefCell panics at runtime …640 Forgetting to use results …641 Iterator invalidation (or lack thereof) …642

In this appendix …643

Appendix B: Quick reference tables …644 Smart pointer selection guide …644

Error handling decision tree …646 Error type selection …648

Conversion trait cheat sheet …648 Core conversion traits …649 Relationship between traits …650 When to use each trait …650 Common conversions reference …651

OOP to Rust translation table … 651 Class and object concepts … 651 Inheritance and polymorphism … 652 Access control … 653 Common patterns translation … 653 Type system mappings … 654 Quick syntax reference … 655

In this appendix … 656

Thank You … 657

Omne initium difficile est. (Every beginning is difficult.)

Every few years, a programming language emerges that genuinely changes how practitioners think about their craft. Rust is one of those languages. Not because it introduces revolutionary concepts (most of its ideas have decades of academic heritage), but because it makes previously theoretical guarantees practical and enforceable at compile time. For developers steeped in object-oriented programming, Rust presents both a challenge and an opportunity: the challenge of unlearning habits that no longer serve, and the opportunity to write code that is simultaneously safer, faster, and more expressive than what came before.

Who this book is for

This book addresses experienced developers who have spent years (perhaps a decade or more) working in object-oriented languages such as Java, C#, or C++. You understand inheritance hierarchies, design patterns, and the careful dance of managing object lifecycles. You have opinions about dependency injection frameworks (strong ones, probably incompatible with your coworkers’ opinions) and have debugged your share of null pointer exceptions in the middle of the night, questioning your career choices while the coffee maker judges you silently.

You are not looking for a gentle introduction to programming concepts. You already know what a variable is, how functions work, and why encapsulation matters. What you need is a translation layer: a way to map your existing mental models onto Rust’s different approach, and guidance on when those models must be abandoned entirely in favor of something new.

I wrote this book because I made this transition myself. After decades of building systems in Java and C#, I found that Rust demanded more than learning new syntax. It required rethinking assumptions I had internalized so deeply that I no longer recognized them as assumptions. The borrow checker rejected patterns I considered fundamental. The lack of inheritance initially felt like a limitation. The type system seemed overly strict until I understood what it was protecting me from.

This book captures what I learned during that transition, presented not as a reference manual but as a guided journey. My goal is to help you reach proficiency faster than I did, while understanding not only what Rust does differently but why those differences lead to better software.

What you will learn

By the end of this book, you will be able to design and implement substantial Rust programs with confidence. More specifically, you will understand ownership and borrowing not as obstacles but as tools for expressing your intent to the compiler. You will know how to model domain concepts using structs, enums, and traits, and you will recognize when patterns from your OOP background translate cleanly to Rust and when they require fundamental reimagining.

The book covers error handling without exceptions, concurrency without data races, and polymorphism without inheritance. These are not compromises or workarounds; they represent Rust’s core philosophy that safety and performance need not be traded against each other. You will learn to leverage the type system to make invalid states unrepresentable, catching entire categories of bugs at compile time rather than in production.

Practical concerns receive substantial attention. Testing strategies differ in Rust, and the book explores how to structure code for testability without the heavyweight mocking frameworks common in OOP ecosystems. The module system and crate organization require deliberate thought, especially for developers accustomed to the implicit package structures of Java or C#.

Concurrency deserves particular emphasis. Rust’s guarantees around thread safety are perhaps its most compelling feature for systems programming. The book dedicates an entire section to concurrent and asynchronous programming, covering not only the mechanics but the mental models required to design concurrent systems that the compiler can verify.

How the book is organized

The book progresses through five parts, each building on concepts established earlier.

Part I addresses the fundamental shift in thinking that Rust requires. Chapter 1 makes the case for Rust, examining what OOP developers gain (and what they leave behind). Chapter 2 covers the foundational concepts that permeate all Rust programming: ownership, borrowing, lifetimes, and the type system’s role in enforcing safety.

Part II, Chapters 3 to 10, develops fluency in Rust’s core abstractions. Structs and enums replace class hierarchies. Traits provide polymorphism without inheritance. Generics enable code reuse with zero runtime cost. Error handling becomes explicit and type-safe.

These chapters establish the vocabulary and patterns used throughout the remainder of the book.

Part III with Chapters 11 through 16 bridges OOP design patterns to Rust idioms. This is where the translation happens in earnest. Inheritance hierarchies become trait compositions. Creational patterns adapt to Rust’s ownership model. Behavioral patterns find new expression through enums, closures, and iterators. A translation guide chapter provides quick reference for common mappings.

Part IV through Chapters 17 to 22 tackles concurrency in depth. Threads, synchronization primitives, message passing, and sync/await each receive dedicated treatment. The section addresses not only how to write concurrent code but how to design systems that remain comprehensible as concurrency requirements grow.

Part V with the rest of the book covers practical considerations for production Rust: testing strategies, unsafe code and FFI, and guidance for continued learning in specific domains.

The chapters are designed to be read in sequence, as each builds on concepts and vocabulary from earlier material. However, experienced Rust developers may find Part III valuable as a standalone reference for translating OOP patterns.

Conventions used in examples

Code examples throughout the book aim for clarity over cleverness. When a Rust feature has multiple valid approaches, the examples favor the most readable option rather than the most concise. Comments appear sparingly in code blocks; the surrounding prose explains what the code accomplishes and why.

Examples build incrementally. A concept is first shown in isolation, then integrated into larger contexts. Near the end of most chapters, a more substantial example demonstrates how the pieces fit together. These longer examples are complete and runnable, not fragments requiring imagination to fill gaps.

The book uses standard Rust formatting as enforced by rustfmt. Type annotations appear more frequently than strict necessity requires, because explicit types aid comprehension when learning. As your Rust intuition develops, you will find yourself omitting many of these annotations in your own code.

Error handling in examples follows Rust conventions. Early examples may use .unwrap() or .expect() for brevity, but these shortcuts are explicitly acknowledged. Later chapters demonstrate proper error propagation, and the examples in concurrent programming chapters handle errors with the care that production code demands.

The companion repository

All code examples from this book are available in a companion repository. The repository is organized as a Cargo workspace, with each chapter’s examples available as separate binaries. You can run any example with a command like:

Terminal window
cargo run --bin chapter03-options

The repository includes not only the examples as they appear in the text but also extended versions that explore variations mentioned in prose. When a chapter discusses multiple approaches to a problem, the repository often includes implementations of each approach for comparison.

I encourage you to run the examples, modify them, and break them deliberately. The Rust compiler’s error messages are unusually helpful, and learning to read them is itself a skill worth developing. When an example fails to compile after your modifications, the error message often teaches more than a paragraph of explanation could.

The repository is available at: https://github.com/aovestdipaperino/oop-to-rust

About the author

Enzo Lombardi has spent over two decades building software systems at scale, and has the mass of gray hair to prove it. His career began at Microsoft in Redmond, where he worked as a Senior Software Developer for twelve years. During that time, he contributed to the release of .NET Framework 1.0 and 2.0, experiences that shaped his understanding of platform design and taught him that API decisions, like tattoos, are far easier to add than to remove.

After Microsoft, he joined Google in Kirkland, continuing as a Senior Software Developer. There he worked on large-scale distributed systems, including the messaging backend for Google Hangouts and the directory services underlying Google Workspace. These projects involved the kind of concurrency and reliability challenges that Rust addresses at the language level, and the kind of on-call rotations that taught him to appreciate any tool that catches bugs before production does.

He currently serves as Software Architect at Cleafy, where he works on security solutions for financial institutions. The combination of performance requirements, security constraints, and regulatory demands in that domain reinforces why Rust’s guarantees matter in production systems, and why “it works on my machine” is not an acceptable deployment strategy.

His open source contributions include turbo-vision-4-rust, a Rust port of the classic Turbo Vision framework (for those who believe the 1990s were peak UI design), and blink, a security-focused project released through Cleafy. Both projects reflect his interest in systems programming and his inability to leave well enough alone when there is code to be rewritten in Rust.

He writes about software development at https://enzolombardi.net, covering topics from language design to distributed systems. His perspective comes from building and operating systems across multiple decades and technology generations, watching patterns succeed and fail at scale, and debugging enough null pointer exceptions to develop a personal vendetta against Sir Tony Hoare.

His code and projects are available at https://github.com/aovestdipaperino. Pull requests welcome; mass criticism accepted with the resignation of someone who has seen worse in code review.

With the context established, the first chapter begins our exploration of why Rust merits the effort of learning a fundamentally different approach to programming.