zort

Sorting algorithms in zig (by alichraghi)

Zort Alternatives

Similar projects and alternatives to zort

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better zort alternative or higher similarity.

zort reviews and mentions

Posts with mentions or reviews of zort. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-10.
  • How a Zig IDE Could Work
    6 projects | news.ycombinator.com | 10 Feb 2023
    because both parts of the expression are evaluated by the compiler and must be the same type, including the function's return type. This means we end up instantiating nonsense functions like readOneByte returning u16. Elsewhere in the same file, some should-be-impossible template instantiations have had to have their static_assert's removed, because C++ will instantiate them and then not insert any calls to them into the generated code. So one cannot use static_assert to say "If this is reachable, that's a bug, please fail compilation and return an error" because template instantiation does not imply reachability.

    [0]: https://github.com/alichraghi/zort/blob/main/src/radix.zig#L...

  • Sorting with SIMD
    9 projects | news.ycombinator.com | 17 Dec 2022
    Please do comment in situations like this.

    It's tough to find a good overview of this topic that includes recent work or that is aimed at empirical performance. That's part of why TFA is great!

    A version of MSB radix sort for sorting ints, doubles, or floats, or sorting structs by a single key of those types is here[0] and a version for sorting strings is here[1]. These are based on the MSB radix sort from this repository[2] which is associated with a technical report about parallel string sorts. I was only interested in sequential sorts, but this repository turned out to be a great resource anyway.

    [0]: https://github.com/alichraghi/zort/blob/main/src/radix.zig

    [1]: https://github.com/dendibakh/perf-challenge6/blob/Solution_R...

    [2]: https://github.com/bingmann/parallel-string-sorting

Stats

Basic zort repo stats
2
50
4.9
3 months ago

alichraghi/zort is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of zort is Zig.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com