Clean Code for Modern Systems

Deep dives into Rust and Solidity. Because elegant code isn't just readable—it's safe, efficient, and built to last.

Latest Masterclasses

Testing Solidity Contract Upgrades with Storage Layout Diff Checks

Testing Solidity Contract Upgrades with Storage Layout Diff Checks

Building a Zero-Copy CSV Parser in Rust with `csv` and Serde

Building a Zero-Copy CSV Parser in Rust with `csv` and Serde

Preventing Path Injection in Rust: Safely Building File Paths from User Input

Preventing Path Injection in Rust: Safely Building File Paths from User Input

Preventing ERC-4626 Share Inflation Attacks in Solidity

Preventing ERC-4626 Share Inflation Attacks in Solidity

Rust Borrow Splitting: Safely Mutating Disjoint Parts of a Data Structure

Rust Borrow Splitting: Safely Mutating Disjoint Parts of a Data Structure

Optimizing Rust with Batch Processing and Chunked Workflows

Optimizing Rust with Batch Processing and Chunked Workflows

Building a Safe ERC-4626 Vault Adapter Library in Solidity

Building a Safe ERC-4626 Vault Adapter Library in Solidity

Testing Solidity Contract Interactions with Mock Contracts

Testing Solidity Contract Interactions with Mock Contracts

Preventing SSRF in Rust: Safely Fetching Remote Resources

Preventing SSRF in Rust: Safely Fetching Remote Resources

Solidity Fallback and Receive Functions: Building Robust Contract Entry Points

Solidity Fallback and Receive Functions: Building Robust Contract Entry Points