C Algorithm

Open-source C projects categorized as Algorithm

Top 20 C Algorithm Projects

  1. tbox

    🎁 A glib-like multi-platform c library

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Klib

    A standalone and lightweight C library

  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. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. fastrange

    A fast alternative to the modulo reduction

    Project mention: Constantly Divisionless Random Numbers | news.ycombinator.com | 2025-03-09

    Does fastrange[1] have fewer rejections due to any excess random bits[2]?

    [1] https://github.com/lemire/fastrange

  11. sha-2

    SHA-2 algorithm implementations (by amosnier)

  12. cgranges

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

  13. fast_zlib

    Heavily optimized zlib compression algorithm

  14. dslib

    :herb: A library of "connected" data structures

  15. utf8

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

  16. rhsort

    Robin Hood Sort, for uniform data

  17. air-ctl

    C Language Template Library C语言 樑板库

  18. Veracrypt-Password-Extractor

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

  19. libaca

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

  20. 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

  21. PoxHash

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

  22. HSL

    HSL to RGB and RGB to HSL

  23. SaaSHub

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

    SaaSHub logo
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

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 - InfluxDB
    www.influxdata.com | 21 Dec 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. 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,068
2 Klib 4,579
3 sc 2,527
4 quadsort 2,170
5 earcut.hpp 948
6 blitsort 713
7 scrypt 508
8 fastrange 314
9 sha-2 198
10 cgranges 168
11 fast_zlib 141
12 dslib 131
13 utf8 83
14 rhsort 75
15 air-ctl 33
16 Veracrypt-Password-Extractor 15
17 libaca 10
18 arduino-gas-index-algorithm 10
19 PoxHash 8
20 HSL 3

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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