October 28, 2025
Sorted code, disordered comments
Show HN: Ordered – A sorted collection library for Zig
New Zig library drops, and HN spirals: ‘ordered’ vs ‘sorted’
TLDR: A developer launched a Zig library that keeps data neatly in order, but the community fixated on the name—‘ordered’ versus ‘sorted’—instead of the code. Fans debated definitions while others called it bikeshedding, highlighting how naming and clarity can overshadow new tools in fast-growing ecosystems like Zig.
A Zig developer unveiled a new library for keeping data in tidy order—think a super-organized list for fast lookups—called Ordered. The tech is cool, but the internet did what it does best: argue about the name. On Hacker News, the very first vibe was “naming police, assemble!” with one user instantly grilling the dev for calling a sorted thing “ordered.” The author, staying chill, basically said: I picked the name months ago and I’m keeping it. Cue the semantics throwdown. Another commenter asked the crowd what the actual difference even is, and a helpful explainer broke it down in plain terms: “ordered” is about the sequence things were added, “sorted” is about the values themselves. Then a pragmatist rolled in to say that on real computers everything is ordered somehow anyway, so this is all haircut-level splitting. Classic bikeshed energy ensued. The code? Fine. The drama? Spicy. Between puns about “order up!” and debates that sounded like a philosophy seminar, the crowd basically turned a neat Zig library into a naming showdown—with a side of computer science 101. Verdict: the project’s promising, but the comments were the main event, as usual.
Key Points
- •An early version of the Ordered library for Zig is released.
- •Ordered provides sorted collection data structures that keep elements in sorted order.
- •The library targets fast point lookups and efficient range searches.
- •Comparable structures cited include Java’s TreeMap and C++’s std::map.
- •The library is available on GitHub at https://github.com/CogitatorTech/ordered.