C Generic

Open-source C projects categorized as Generic

Top 8 C Generic Projects

  • Klib

    A standalone and lightweight C library

    Project mention: So what's the best data structures and algorithms library for C? | reddit.com/r/C_Programming | 2023-03-15

    It could be that the cost of the function calls, either directly or via a pointer, is drowned out by the cost of the one or more cache misses inevitably invoked with every hash table lookup. But I don't want to say too much before I've finished my benchmarking project and published the results. So let me just caution against laser-focusing on whether the comparator and hash function are/can be inlined. For example stb_ds uses a hardcoded hash function that presumably gets inlined, but in my benchmarking (again, I'll publish it here in coming weeks) shows it to be generally a poor performer (in comparison to not just CC, the current version of which doesn't necessarily inline those functions, but also STC, khash, and the C++ Robin Hood hash tables I tested).

  • sc

    Common libraries and data structures for C.

    Project mention: Advice for bigger c projects? | reddit.com/r/C_Programming | 2023-05-30

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • mlib

    Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).

    Project mention: So what's the best data structures and algorithms library for C? | reddit.com/r/C_Programming | 2023-03-15

    Thanks to your feedback, I have added a new chapter in the documentation explaining how to do what you want. In this case, you need to inherit from the integer oplist (M_BASIC_OPLIST) and only adds the operator you need using the macro M_OPEXTEND. I have also added examples for integer and for c-string that may help you since there weren't any example with OA hashmap.

  • lwrb

    Lightweight generic ring buffer manager library

    Project mention: Architecture for efficient UART communication | reddit.com/r/embedded | 2022-08-17
  • c-iterators

    :books: A demonstration of implementing a "type-safe" lazy iterator interface in pure C99

  • C-DataStructures-And-Algorithms

    Generic data structures and algorithms implemented in c language.

  • c-iterplus

    Functional, Type safe, Lazy abstractions for generic iterators in C - https://github.com/TotallyNotChase/c-iterators

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • ll

    Generic C99 Singly & Doubly Linked List Implementation with OOP, ranges, custom loops and more. (by a-p-jo)

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). The latest post mention was on 2023-05-30.

C Generic related posts


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

Project Stars
1 Klib 3,795
2 sc 1,978
3 mlib 653
4 lwrb 587
5 c-iterators 71
6 C-DataStructures-And-Algorithms 37
7 c-iterplus 27
8 ll 5
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.