{"id":13566164,"url":"https://github.com/alexpusch/rust-magic-patterns","last_synced_at":"2025-05-14T21:04:41.583Z","repository":{"id":60245292,"uuid":"541280938","full_name":"alexpusch/rust-magic-patterns","owner":"alexpusch","description":"Magical Rust patterns laid out and simplified","archived":false,"fork":false,"pushed_at":"2025-04-13T16:28:31.000Z","size":1890,"stargazers_count":1387,"open_issues_count":0,"forks_count":42,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-14T06:49:12.428Z","etag":null,"topics":["blog","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexpusch.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-25T19:09:24.000Z","updated_at":"2025-04-14T06:22:13.000Z","dependencies_parsed_at":"2025-02-09T19:00:56.592Z","dependency_job_id":"9b3b54dc-f940-424b-aac0-3554b9e58ec9","html_url":"https://github.com/alexpusch/rust-magic-patterns","commit_stats":null,"previous_names":["alexpusch/rust-magic-patterns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpusch%2Frust-magic-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpusch%2Frust-magic-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpusch%2Frust-magic-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexpusch%2Frust-magic-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexpusch","download_url":"https://codeload.github.com/alexpusch/rust-magic-patterns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227605,"owners_count":22035668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","rust"],"created_at":"2024-08-01T13:02:03.584Z","updated_at":"2025-05-14T21:04:41.539Z","avatar_url":"https://github.com/alexpusch.png","language":"Rust","funding_links":[],"categories":["Rust","rust"],"sub_categories":[],"readme":"# Rust magic patterns\n\nThe 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.\n\n### 2025-04-13 - [A Visual Journey Through Async Rust](visual-journey-through-async-rust/Readme.md)\n\"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.\n\n### 2025-01-18 - [Async Pipeline Pattern - Eager to work](async-pipeline-pattern/Readme.md)\nThe async pipeline pattern utilizes tasks and channels to concurrently process data. Lets learn about it from scratch and wrap it into a crate.\n\n### 2024-04-20 - [Rust Stream API visualized and exposed](rust-stream-visualized/Readme.md)\nRust Stream API is very elegant, but do you really know whats going on? Lets visualize streams and find some surprising results\n\n### 2023-11-18 - [Dumbing down Rust Iterator internals](dumbing-down-iterator/Readme.md)\nIterator API and its documentation can be a daunting for a beginner. lets learn about it by implementing a simple version\n\n### 2022-09-26 - [Axum style magic function params](axum-style-magic-function-param/Readme.md)\nHow in the world [Axum](https://github.com/tokio-rs/axum) manage to have methods that receive function pointers to various types of functions? What kind of black magic is this? \n\n#### Additional languages\n- [Simplified Chinese](https://github.com/yushengguo557/rust-magic-patterns/blob/translation-zh-cn/Readme_ZH_CN.md) - \u003ca href=\"https://github.com/yushengguo557\"\u003e@yushengguo557\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexpusch%2Frust-magic-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexpusch%2Frust-magic-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexpusch%2Frust-magic-patterns/lists"}