Skip to content
  • Contact
  • Cookie Policy (EU)
  • Privacy Policy
  • Rust Links for the curious
Hacking with rust
  • Contact
  • Cookie Policy (EU)
  • Privacy Policy
  • Rust Links for the curious
Hacking with rust
ConcurrencyDesign PatternsLock

Empowering Security: Unleashing the Strength of Rust’s Lock Pattern

Introduction When we build programs that do many things at once, we want to make sure they’re secure....
Iede SnoekDec 24, 2023Dec 29, 2023
BalkingDesign PatternsGenericsRust

Unlocking Rust’s Efficiency: Mastering the Easy Art of the Balking Pattern for Simplicity

Introduction The Balking Pattern might not be widely known, but it plays a crucial role in preventing certain...
Iede SnoekDec 1, 2023Dec 1, 2023
Design PatternsFluent interfaceRustStructs

Simplify Rust Code with Easy Elegance: Unleashing the Power of Fluent Interfaces

Introduction Using a fluent interface can make your code easier to understand. This pattern allows you to link...
Iede SnoekNov 26, 2023Nov 26, 2023
Active ObjectConcurrencyDesign PatternsRustStructsTraits

Easy Mastery: A Deep Dive into the Active Object Pattern in Rust’s Seamless Concurrency Model

Introduction Sometimes, it’s handy to separate when a method is called from when it actually runs. That’s where...
Iede SnoekNov 26, 2023Feb 5, 2024
Design PatternsRustSpecificationStructsTraits

Simplified Precision: Unraveling the Simple Specification Pattern in Rust for Expressive Code Design

Introduction Most applications require business rules, such as data validation. It’s crucial to implement these rules in a...
Iede SnoekNov 12, 2023Aug 14, 2024
Design PatternsRustServantStructsTraits

Serving Simplicity: Mastering the Servant Pattern in Rust for Easy and Elegant Code Design

Introduction The Servant pattern is a way of organizing code where one special object helps out a bunch...
Iede SnoekNov 12, 2023Nov 12, 2023
Design PatternsLazy initializationMultitonRustStructsTraits

A Guide to Flexible & Easy Thread-Safe Rust: Unveiling the Multiton Pattern for Efficient Lazy Initialization

Introduction Sometimes creating an object can be costly, either because it uses a lot of computer resources or...
Iede SnoekNov 5, 2023Nov 5, 2023
Design PatternsExtension ObjectRustStructsTraits

Unlocking the Power of Rust: Exploring the Extension Object Pattern for Ultimate Flexibility

Introduction The extension object pattern is like adding extra features to something without changing what it is. It’s...
Iede SnoekOct 29, 2023Dec 29, 2023
Photo by Ananthu Ananthu: https://www.pexels.com/photo/car-start-button-in-close-up-photography-12551173/
DelegationDesign PatternsRustStructsTraits

Easy delegation in Rust: the delegation pattern

Introduction In delegation, you delegate a certain request to an object to a second object, which we call...
Iede SnoekOct 28, 2023Dec 29, 20231 Comment on Easy delegation in Rust: the delegation pattern
CompositeDesign PatternsRustStructsTraits

Easy Patterns in Rust: The Composite Pattern

Introduction The composite pattern allows you treat a group of objects like a single object. The objects are...
Iede SnoekOct 23, 2023Dec 29, 2023
1234
  • Contact
  • Cookie Policy (EU)
  • Privacy Policy
  • Rust Links for the curious
Copyright © 2025 - Yuki Theme By WP Moose