rust-magic-patterns icon indicating copy to clipboard operation
rust-magic-patterns copied to clipboard

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.

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