Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rust-magic-patterns

> 编程语言
Open source

Magical Rust patterns laid out and simplified

1.9K stars0 likes2 views
WebsiteGitHub

About

Magical Rust patterns laid out and simplified

Rust magic patterns

The best way to learn Rust is by looking at simplified examples and building from there. Well, maybe not the best way, but this is the content of this blog repository.

2026-07-24 - Delightful integration tests in Rust

Integration tests require us to manage application infrastructure at test runtime. Let’s learn how to leverage RAII to help with that, and introduce testcontainers-rs , which makes this process truly delightful.

2025-04-13 - A Visual Journey Through Async Rust

"Async code is concurrent, not parallel". Have you heard this phrase about Rust/Node.js async runtimes? How about "CPU-bound code will block the async executor"? Let's investigate these claims with some code and visualizations.

2025-01-18 - Async Pipeline Pattern - Eager to work

The async pipeline pattern utilizes tasks and channels to concurrently process data. Lets learn about it from scratch and wrap it into a crate.

2024-04-20 - Rust Stream API visualized and exposed

Rust Stream API is very elegant, but do you really know whats going on? Lets visualize streams and find some surprising results

2023-11-18 - Dumbing down Rust Iterator internals

Iterator API and its documentation can be a daunting for a beginner. lets learn about it by implementing a simple version

2022-09-26 - Axum style magic function params

How in the world Axum manage to have methods that receive function pointers to various types of functions? What kind of black magic is this?

Additional languages

  • Simplified Chinese - @yushengguo557

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustblogrust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言