C Algorithm

Open-source C projects categorized as Algorithm

Top 20 C Algorithm Projects

  1. tbox

    🎁 A glib-like multi-platform c library

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Klib

    A standalone and lightweight C library

    Project mention: It's Alive! statgrab Returns After 20 Years | dev.to | 2026-04-28

    I shipped a 1.0.0 modernization this week. Rebuilt the storage on top of klib khash, got it green on PHP 7.4 through 8.5 NTS and ZTS, added a proper OO surface (LcHash with $obj[$key] dimension access), wrote a benchmark script and let it run.

  4. sc

    Common libraries and data structures for C.

  5. quadsort

    Quadsort is a branchless stable adaptive mergesort faster than quicksort.

  6. earcut.hpp

    Fast, header-only polygon triangulation

    Project mention: Earcut64: Zero-Allocation Triangulation for Tiny Polygons | dev.to | 2025-06-16

    Earcut is almost a teaching example: pick any non-self-intersecting polygon, find an "ear" (three consecutive vertices that form an empty inner triangle), cut it off, repeat. Simple? Yes. Slow? Sometimes. But on contours with few points Earcut can be the fastest tool in the shed, as my benchmarks against iTriangle and Mapbox implementations have shown.

  7. blitsort

    Blitsort is an in-place stable adaptive rotate mergesort / quicksort.

  8. scrypt

    The scrypt key derivation function was originally developed for use in the Tarsnap online backup system and is designed to be far more secure against hardware brute-force attacks than alternative functions such as PBKDF2 or bcrypt.

  9. fastrange

    A fast alternative to the modulo reduction

  10. sha-2

    SHA-2 algorithm implementations (by amosnier)

  11. cgranges

    A C/C++ library for fast interval overlap queries (with a "bedtools coverage" example)

  12. fast_zlib

    Heavily optimized zlib compression algorithm

  13. dslib

    :herb: A library of "connected" data structures

  14. utf8

    Fast UTF-8 validation with range algorithm (NEON+SSE4+AVX2) (by cyb70289)

  15. rhsort

    Robin Hood Sort, for uniform data

  16. air-ctl

    C Language Template Library C语言 模板库

  17. Veracrypt-Password-Extractor

    A proof-of-concept DLL that prints out the password a user enters into Veracrypt while decrypting a volume.

  18. libaca

    C Library of Aho-Corasick Algorithm based on Coordinate Hash Trie

  19. arduino-gas-index-algorithm

    Arduino Library for Sensirion's Gas Index Algorithm, providing a VOC and NOx Index output signal calculated from the SGP40/41 raw signals

  20. PoxHash

    A block hashing algorithm with implementations in C, Rust, Go, Nim, Python and JS

  21. HSL

    HSL to RGB and RGB to HSL

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Algorithm discussion

Log in or Post with

C Algorithm related posts

  • Need a Quick Favor: Help a Student with a Simple Click!

    1 project | /r/github | 19 Nov 2023
  • How do crypto functions deal with the issue of character size? (e.g. Unicode)

    1 project | /r/cryptography | 18 Jun 2023
  • shibajs1.h: Quick and Dirty JSON Parsing (not an advertisement!) --- Seeking comments, good ones. Thanks

    2 projects | /r/C_Programming | 18 Jun 2023
  • GitHub - frymimori/c-sorter: Create ascending and descending ordered arrays using C with a fast and unique hybrid sorting algorithm.

    4 projects | /r/C_Programming | 11 Jun 2023
  • Doubt regarding counting sort

    2 projects | /r/algorithms | 12 Jun 2023
  • Encoding Huffman freq table?

    1 project | /r/compsci | 18 May 2023
  • [Offer] I am a systems, network, and SciComp programmer, I am looking for small, short gigs to fund my libre projects. I have a good portfolio, and I have adequate grasp of theory. My prices begin at $5 and end at $60 for small, one-time gigs. C, x86-64|Aarch64 Assembly, Go, Python, Shell Scripting

    2 projects | /r/slavelabour | 6 May 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Algorithm projects in C? This list will help you:

# Project Stars
1 tbox 5,112
2 Klib 4,677
3 sc 2,557
4 quadsort 2,205
5 earcut.hpp 992
6 blitsort 715
7 scrypt 515
8 fastrange 318
9 sha-2 200
10 cgranges 170
11 fast_zlib 145
12 dslib 131
13 utf8 85
14 rhsort 78
15 air-ctl 35
16 Veracrypt-Password-Extractor 15
17 libaca 11
18 arduino-gas-index-algorithm 11
19 PoxHash 8
20 HSL 3

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

Did you know that C is
the 6th most popular programming language
based on number of references?