Latest / Developer tools

toposort

github.com · Open source · Maintained

Zig library for topological sorting and parallel dependency batches

Visit github.com ↗Share

  • topological sort
  • topological sort zig
  • dependency graph
  • zig library
  • parallel task batches
  • cycle detection
Stars
98
Forks
3
Open issues
0
Last commit
Releases
6
Found
20 months ago

GitHub figures as of . They are context, not a ranking.

toposort is a Zig library that builds a dependency graph, performs a topological sort, and produces dependency-free subsets for parallel processing. It also detects and reports cycles, and suits Zig developers who need to order tasks with dependencies.

Repository description on GitHub: “Topological sort library in Zig”

What it does

  • Builds a dependency graph and performs topological sort
  • Detects and reports cycles
  • Partitions the graph into dependency-free subsets for parallel work
  • Includes a command-line tool and benchmarks

Good for

  • Order tasks that depend on each other in a Zig program
  • Group independent tasks into batches that run in parallel

Suits: Zig developers who need to order tasks with dependencies.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw toposort on , when ww520 posted it to Show HN. The oldest published release on GitHub is 1.0, dated . toposort had been shipping tagged releases for 2 days before it was found. 6 releases have been published in total; the latest is 1.0.5 ().

Day-7 and day-30 updates

Day 7 2 releases shipped

  • 2 releases in the first 7 days: 1.0.3 (2 Apr 2025), 1.0.4 (2 Apr 2025)
  • Show HN discussion at check time: 114 points, 47 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 2 releases shipped

  • 2 releases in the first 30 days: 1.0.3 (2 Apr 2025), 1.0.4 (2 Apr 2025)
  • Show HN discussion at check time: 114 points, 47 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (6 in total, busiest month 4).
  1. Repository created on GitHub: williamw520/toposort
  2. Release 1.0
  3. Release 1.0.1
  4. Release 1.0.2
  5. Found: ww520 posted it to Show HN. Show HN
  6. Release 1.0.3
  7. Release 1.0.4
  8. Release 1.0.5
  9. Day-7 check recorded by Kip (details)
  10. Day-30 check recorded by Kip (details)

Quick answers

When was toposort released?
Its first tagged release on GitHub is dated 31 Mar 2025. Kip found it on Show HN on 1 Apr 2025.
Is toposort open source?
Its source is public on GitHub at williamw520/toposort; check the repository for licence terms.
What does toposort run on?
Library, Command line.
Is toposort free?
It is open source, so the code is free to read and run; check the licence for terms.
Is toposort still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorywilliamw520/toposort
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-43549618. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.