{"id":13539519,"url":"https://github.com/smallnest/concurrency-programming-via-rust","last_synced_at":"2025-05-14T18:02:49.649Z","repository":{"id":61312920,"uuid":"547113575","full_name":"smallnest/concurrency-programming-via-rust","owner":"smallnest","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-15T08:31:47.000Z","size":16066,"stargazers_count":1318,"open_issues_count":1,"forks_count":72,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-04-13T10:04:48.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallnest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-10-07T06:44:00.000Z","updated_at":"2025-04-11T12:56:05.000Z","dependencies_parsed_at":"2023-11-12T16:10:07.054Z","dependency_job_id":"579bc8f4-810a-4713-9d0a-f6c6f3a2120b","html_url":"https://github.com/smallnest/concurrency-programming-via-rust","commit_stats":{"total_commits":51,"total_committers":7,"mean_commits":7.285714285714286,"dds":0.196078431372549,"last_synced_commit":"aa0adf9d06093bf54da4c45f5c98b9bef8680e3c"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallnest%2Fconcurrency-programming-via-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallnest%2Fconcurrency-programming-via-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallnest%2Fconcurrency-programming-via-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallnest%2Fconcurrency-programming-via-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallnest","download_url":"https://codeload.github.com/smallnest/concurrency-programming-via-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198452,"owners_count":22030964,"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":[],"created_at":"2024-08-01T09:01:27.123Z","updated_at":"2025-05-14T18:02:44.630Z","avatar_url":"https://github.com/smallnest.png","language":"Rust","funding_links":[],"categories":["Rust","Summary"],"sub_categories":[],"readme":"# concurrency programming via rust\n\n![](book/images/gear.png)\n\n## How to run?\n\nEnter one crate such as thread and run `cargo run`.\n\n## Contents\n\nI have a plan to write a book about conncurrency programming via rust. The below is the contents of it and this repo contains all source codes.\n\n### chapter 1: Thread\n\nIntroduces [Threads](thread/src/main.rs) in std and concurrency libs.\n\n\n### chapter 2: Thread Pool\n\nIntroduces [Thread pool](pool/src/main.rs) for std thread.\n\n### chapter 3: async/await\n\nIntroduces [async feature](asyncwait/src/main.rs).\n\n### chapter 4: synchronization primitives\n\nIntroduces synchronization primitives contains [containers](container_primitive/src/main.rs) \n\n### chapter 5: basic concurrency primitives\nIntroduction of basic concurrency [primitives](sync_primitive/src/main.rs) in std lib.\n\n### chapter 6: concurrency collections\n\nIntroduces [concurrency collections](collections/src/main.rs) in std lib.\n\n### chapter 7: process\n\nIntroduces starting and executing a new [process](process/src/main.rs) in the easy way.\n\n### chapter 8: channel\n\nIntroduces each [channels](channel/src/main.rs) such as mpsc, mpmc and broadcasters.\n\n### chapter 9: timer/ticker\n\nIntroduces [timer and ticker](timer_examples/src/main.rs).\n\n### chapter 10: parking_lot\n\nIntroduces [parking_lot](parking_lot_examples/src/main.rs).\n\n### chapter 11: crossbeam\n\nIntroduces [crossbeam](crossbeam_examples/src/main.rs).\n\n### chapter 12: rayon\n\nIntroduces [rayon](rayon_examples/src/main.rs).\n\n### chapter 13: tokio\n\nIntroduces [tokio](tokio_examples/src/main.rs).\n\n### chapter 14: special\n\nsome special synchronization primitives and concurrency libs only for special single purpose.\n\n\n- replace std::mpsc with crossbeam-channel: https://github.com/rust-lang/rust/pull/93563","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallnest%2Fconcurrency-programming-via-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallnest%2Fconcurrency-programming-via-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallnest%2Fconcurrency-programming-via-rust/lists"}