{"by":"ww520","descendants":47,"id":43549618,"kids":[43549857,43552526,43552977,43550252,43551289,43550260,43553016,43550240,43550416],"score":114,"text":"I believe the best way to learn a language is by doing an in-depth project. This is my first Zig project intended for learning the ropes on publishing a Zig package. It turns out to be quite solid and performant. It might be a bit over-engineered.<p>This little library is packed with the following features:<p><pre><code>  - Building dependency graph from dependency data.\n  - Performing topological sort on the dependency graph.\n  - Generating dependence-free subsets for parallel processing.\n  - Cycle detection and cycle reporting.</code></pre>","time":1743529725,"title":"Show HN: Zig Topological Sort Library for Parallel Processing","type":"story","url":"https://github.com/williamw520/toposort"}