sort
Sorting routine implementations in "template" C (by swenson)
qsort
Quicksort implemented as a C macro (by svpv)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sort
Posts with mentions or reviews of sort.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-06.
-
Qsort.h – Quicksort as a C macro (2019)
Along the same lines, I use Christopher Swenson's sort.h at https://github.com/swenson/sort/
You get the choice of many sorting routines, including:
-
C Template Library
FWIW, for sorting in a template-like C package I use https://github.com/swenson/sort/ .
qsort
Posts with mentions or reviews of qsort.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-06.
-
Is using void* considered "evil" in C just as it is in C++?
An example of this can be found here
- Qsort.h – Quicksort as a C macro (2019)
- qsort.h – Quicksort as a C macro (2019)
What are some alternatives?
When comparing sort and qsort you can also consider the following projects:
src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
ctl - The C Template Library
ctl - C Template Library
frr - The FRRouting Protocol Suite
notes - Assorted notes
nusort - Japanese direct-to-kanji input system with 2-key codes