safeclib VS fancy-memset

Compare safeclib vs fancy-memset and see what are their differences.

safeclib

safec libc extension with all C11 Annex K functions (by rurban)

fancy-memset

small, fast memset based on microsoft's design (by moon-chilled)
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
safeclib fancy-memset
8 3
311 9
- -
7.0 0.0
18 days ago about 2 years ago
C Assembly
GNU General Public License v3.0 or later -
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.

safeclib

Posts with mentions or reviews of safeclib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-22.

fancy-memset

Posts with mentions or reviews of fancy-memset. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-22.
  • 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.

  • Fast Memset and Memcpy implementations
    2 projects | /r/asm | 26 Nov 2021
    Going to plug my own implementation of the same ideas. Nearly half the branches and code size (gotta save that btb and icache!), similar speed except for <16 range (I am much slower; but these are empirically very rare); and 128~180 range (I am appreciably faster for some reason, this was weird).
  • The Art of Picking Intel Registers (2003)
    1 project | news.ycombinator.com | 8 Feb 2021
    Not sure what you mean by 'part'. I reproduced this across two intel and two amd CPUs, comparing my own[0] memset implementation, glibc's, and bionic's.

    0. https://github.com/moon-chilled/fancy-memset

What are some alternatives?

When comparing safeclib and fancy-memset you can also consider the following projects:

memset_benchmark - This repository contains high-performance implementations of memset and memcpy in assembly.

qemu

fancy-memcmp - small, fast memcmp

gcc

libu8ident - unicode security guidelines for identifiers

copies-and-fills

libredwg - Official mirror of libredwg. With CI hooks and nightly releases. PR's ok

libnbd

nbdkit