sort-research-rs VS fancy-memcmp

Compare sort-research-rs vs fancy-memcmp and see what are their differences.

sort-research-rs

Test and benchmark suite for sort implementations. (by Voultapher)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
sort-research-rs fancy-memcmp
47 2
291 3
- -
9.0 3.5
24 days ago 25 days ago
Rust Assembly
Apache License 2.0 -
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.

sort-research-rs

Posts with mentions or reviews of sort-research-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-18.

fancy-memcmp

Posts with mentions or reviews of fancy-memcmp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-05.
  • Out-of-bounds read and write in the glibc's qsort()
    2 projects | news.ycombinator.com | 5 Feb 2024
    Hrm—that's another case of missing isel from gcc/clang (c.f. <https://pp.ipd.kit.edu/firm/selgen>)—my implementation (<https://github.com/moon-chilled/fancy-memcmp/blob/master/mem...>) does it in one less instruction. (An alternative is to skip the xors and do cmp/setcc/setcc/sub/movsx, which matches my approach on instruction count, but relies on good handling of partial renames, which is uarch-dependent. And I can never remember if anybody can eliminate movsx. Otoh it is non-destructive.)
  • LLVM's Libc Gets Much Faster memcpy For RISC-V
    3 projects | news.ycombinator.com | 22 May 2023
    I only have experience with their amd64 code.

    > What problems do they have?

    Nothing in particular, just not particularly amazing performance. They work fine. One thing they have going for them is that they typically have separate versions for every interesting architecture feature level/set, whereas e.g. bionic only has sse code. I guess I can point at my own implementations of memset and memcmp (https://github.com/moon-chilled/fancy-memset https://github.com/moon-chilled/fancy-memcmp), both of which employ novel techniques not used by glibc; but I've not yet gotten around to doing proper benchmarks on either.

What are some alternatives?

When comparing sort-research-rs and fancy-memcmp you can also consider the following projects:

tock - A secure embedded operating system for microcontrollers

fancy-memset - small, fast memset based on microsoft's design

ruduino - Reusable components for the Arduino Uno.

safeclib - safec libc extension with all C11 Annex K functions

fluxsort - A fast branchless stable quicksort / mergesort hybrid that is highly adaptive.

glidesort - A Rust implementation of Glidesort, my stable adaptive quicksort/mergesort hybrid sorting algorithm.

quadsort - Quadsort is a branchless stable adaptive mergesort faster than quicksort.

rotate - A collection of array rotation algorithms.

x86-simd-sort - C++ template library for high performance SIMD based sorting algorithms

book - The Rust on ESP Book

forma - An efficient vector-graphics renderer

mountain-sort - The best algorithm to sort mountains