Show HN: Zig Topological Sort Library for Parallel Processing

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.This little library is packed with the following features: - Building dependency graph from dependency data. - Performing topological sort on the dependency graph. - Generating dependence-free subsets for parallel processing. - Cycle detection and cycle reporting. Comments URL: https://news.ycombinator.com/item?id=43549618 Points: 10 # Comments: 1

Avr 1, 2025 - 19:19
 0
Show HN: Zig Topological Sort Library for Parallel Processing

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.

This little library is packed with the following features:

  - Building dependency graph from dependency data.
  - Performing topological sort on the dependency graph.
  - Generating dependence-free subsets for parallel processing.
  - Cycle detection and cycle reporting.

Comments URL: https://news.ycombinator.com/item?id=43549618

Points: 10

# Comments: 1