nowfound

Dev tools · alternatives · 2026

24 alternatives to 2x-4x faster strlen() in C

GitHub Gist: instantly share code, notes, and snippets.

This is a C library implementation that provides optimized versions of the strlen() function, claiming performance improvements of 2x to 4x faster execution compared to standard implementations. It is designed for C… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. 2x-4x faster strlen() in C launched in 2023; newer entries below may have overtaken it.

  1. 1

    A fast and memory-optimized string library for C++ - btwael/SuperString

    2018 · github.com · its alternatives →

  2. 2

    Faster user-land reimplementations for several common builtin native JavaScript functions. - codemix/fast.js

    2014 · github.com · its alternatives →

  3. 3

    Contribute to igushev/IgushArray development by creating an account on GitHub.

    2019 · github.com · its alternatives →

  4. 4

    Hi HN! I've spent the last few weeks optimizing the string operations in StringZilla. You'd be surprised how much performance GLibc and the Standard Templates Library of C++ are leaving on the table, especially on Arm and, likely, on RISC-V. I've significantly increased the number of implemented algorithms for different workloads. Searching across English texts on Arm, for example: - is 4.4x faster than STL, - and 16.8x faster in reverse order. The new version of the library now includes a C++ binding largely compatible with the C++ Standard, featuring all 17 overloads of the `replace`…

    2024 · github.com · its alternatives →

  5. 5

    A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects. - GitHub - rochus-keller/CspChan: A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects.

    2023 · github.com · its alternatives →

  6. 6

    I want to share a really dumb, but very practical project I have packaged this summer, to perform operations on strings much faster. I was using Python to work with a multi-terabyte newline-delimited file. Reading, splitting, and shuffling it was a nightmare. So, I wrapped a trivial hardware-friendly heuristic I've been using for the last few years into a CPython library. The part I enjoyed the most is implementing SIMD behavior without SIMD instructions... Using 64-bit words to work at 8-bit granularity. Unlike conventional SIMD, the code would remain the same for ~~almost~~ any hardware.…

    2023 · ashvardanian.com · its alternatives →

  7. 7

    LoopMix128 is a fast C PRNG I wrote for non-cryptographic tasks. GitHub (MIT): https://github.com/danielcota/LoopMix128 Highlights: * ~0.37 ns/value (GCC 11.4, -O3 -march=native), 98% faster than xoroshiro128++ and PCG64. * Passes TestU01 BigCrush & PractRand (32TB). * Guaranteed 2^128 period. * Proven injective (192-bit state) via Z3 SMT solver; allows parallel streams. * Core requires only stdint.h. Seeking feedback on design, use cases, or further testing.

    2025 · github.com · its alternatives →

  8. 8

    A fun toy memory allocator (not thread safe, that's a future TODO). I also wanted to explain how I approached it, so I also wrote a tutorial blog post (~20 minute read) covering the code which you can find the link to in the README.

    Nov 2025 · github.com · its alternatives →

  9. 9

    Faster LZMA decoder for x86 CPUs (patch for XZ Utils). - faster_lzma_decoder_x86.patch

    2021 · gist.github.com · its alternatives →

  10. 10

    I'm looking for feedback on this approach to an immutable string (istring). The idea is to provide a super fast immutable string that can be efficiently passed to lambdas as well as be 100% thread safe. Another bonus is faster hashing. If a string literal is given to istring, then the hash is computed at compile time! Other strings will have their hashes cached for later use. The istring is designed more or less after the python string in this regard. It should also consume less memory than std::string and perform faster in all other areas.

    2014 · github.com · its alternatives →

  11. 11

    Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows - drogonframework/drogon

    2019 · github.com · its alternatives →

  12. 12

    Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod

    2014 · github.com · its alternatives →

  13. 13

    A 10x faster and more accurate text wrapping util in < 2KB (min) - leeoniya/uWrap

    2025 · github.com · its alternatives →

  14. 14GI

    Hi all! I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;) Anyways... here's the repo: https:&#x2F;&#x2F;github.com&#x2F;liam-ilan&#x2F;crumb I started learning C over the summer, so I still have a whole lot to learn... Any feedback would be greatly appreciated! :D

    2023 · its alternatives →

  15. 15

    TurboRLE-Fastest Run Length Encoding. Contribute to powturbo/Turbo-Run-Length-Encoding development by creating an account on GitHub.

    2015 · github.com · its alternatives →

  16. 16

    Managed C strings library. Contribute to alcover/stricks development by creating an account on GitHub.

    2021 · github.com · its alternatives →

  17. 17

    Rapid fuzzy string matching in Python using various string metrics - rapidfuzz/RapidFuzz

    2020 · github.com · its alternatives →

  18. 18AS

    Took a stab at building my own string diffing JS package. I built an interactive demo for TypeIt’s website (https:&#x2F;&#x2F;typeitjs.com&#x2F;build-your-own) a while back. The approach I took to handle user input necessitated a way to calculate the difference between the versions of a user’s text input. I searched around for a package to help me out and found a couple of good ones (like fast-diff), but I either didn’t really like their API or didn’t want to take on a huge new dependency. Instead, I thought I’d give it a shot myself (famous last words). I dove into it having no real formal…

    2022 · its alternatives →

  19. 19

    Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and&#x2F;or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…

    2023 · github.com · its alternatives →

  20. 20

    I rewrote the most common core string.h functions in pure C. I mostly did it to learn pointers and string. Would love to get any feedbacks:)

    2025 · github.com · its alternatives →

  21. 21

    An approach for runtime detection inside a constexpr function - SaadAhmad/in_constexpr

    2017 · github.com · its alternatives →

  22. 22

    Smart pointers for the (GNU) C programming language - Snaipe/libcsptr

    2015 · github.com · its alternatives →

  23. 23

    An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing - zanellia/prometeo

    2021 · github.com · its alternatives →

  24. 24

    `cronexpr` is a library to parse and drive the crontab expression.

    2024 · docs.rs · its alternatives →

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →