Alexander Fadeev's Blog
  • Home
  • Security
  • Development
  • About

Rust

🦀 Rust language
The Easiest Patterns in Rust
Rust

The Easiest Patterns in Rust

A few software design patterns are seamlessly integrated into Rust, so we're using them without realizing them. Which is great! A hint: it is 2 creational patterns.
Aug 3, 2022 — 2 min read
The Hardest Pattern in Rust: Mediator
Development

The Hardest Pattern in Rust: Mediator

A typical Mediator implementation in other languages is a classic anti-pattern in Rust: many objects hold mutable cross-references on each other, trying to mutate each other, which is a deadly sin in Rust - the compiler won't pass your first naive implementation unless it's oversimplified.
Aug 3, 2022 — 1 min read
Alexander Fadeev's Blog © 2022
Powered by Ghost