C Miscellaneous

Open-source C projects categorized as Miscellaneous

Top 15 C Miscellaneou Projects

  • Redis

    Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

    Project mention: How to Choose the Right Document-Oriented NoSQL Database for Your Application | dev.to | 2023-09-05

    NoSQL is a term that we have become very familiar with in recent times and it is used to describe a set of databases that don't make use of SQL when writing & composing queries. There are loads of different types of NoSQL databases ranging from key-value databases like the Reddis to document-oriented databases like MongoDB and Firestore to graph databases like Neo4J to multi-paradigm databases like FaunaDB and Cassandra.

  • stb

    stb single-file public domain libraries for C/C++

    Project mention: File for Divorce from LLVM | news.ycombinator.com | 2023-06-29

    My stuff for instance:


    ...inspired by:


    But it's not so much about the build system, but requiring a separate C/C++ compiler toolchain (Rust needs this, Zig currently does not - unless the proposal is implemented).

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

  • SDS

    Simple Dynamic Strings library for C

    Project mention: Strlcpy and strlcat added to glibc 2.38 | news.ycombinator.com | 2023-07-18

    Let me reframe this. What we're saying to do is stop using C string manipulation such as strcat, strcpy, etc. Particularly, I'm saying simply don't use C-style null terminated strings until you actually go to call a C ABI interface where it is necessary.

    The argument against this is that you might call something that already does this. Yes, sure, that IS true, but what this betrays is the fact that you have to deal with that regardless of whether or not you add additional error-prone C string manipulation code on top of having to worry about memory ownership, mutation, etc. when passing blobs of memory to "untrusted" APIs.

    It's not about passing the buck. Passing a blob of memory to an API that might do horrible things not defined by an API contract is not safe if you do strcat to construct the string or you clone it out of an std::string or you marshal it from Go or Rust. It's about not creating a bigger mess than you already have.

    Okay fine, but what if someone hates C++ and Rust and Go and Zig? No problem. There are a slew of options for C that can all handle safer, less error-prone string manipulation, including interoperability with null-terminated C strings. Like this one used in Redis:


    And on top of everything else, it's quite ergonomic, so it seems silly to not consider it.

    This entire line of thinking deeply reminds me of Technology Connection's video The LED Traffic Light and the Danger of "But Sometimes!".


    I think hypothetically you can construct some scenarios where not using C strings for string manipulation requires more care, but justifying error prone C string manipulation with "well, I might call something that might do something unreasonable" as if that isn't still your problem regardless of how you get there makes zero sense to me.

    And besides, these hypothetical incorrect APIs would crash horrifically on the DS9K anyways.

  • Klib

    A standalone and lightweight C library

    Project mention: A simple hash table in C | news.ycombinator.com | 2023-06-13
  • ZBar

    Clone of the mercurial repository http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar

    Project mention: What route should I go for moving long links you find on the phone to a PC? | /r/PrivacyGuides | 2023-05-17
  • AtomVM

    Tiny Erlang VM

    Project mention: Firefly – A new compiler and runtime for BEAM languages | news.ycombinator.com | 2023-04-18

    Check out the existing AtomVM if you've not for that use case.


  • libssh2

    the SSH library

    Project mention: SSH Port Forwarding in Rust | /r/learnrust | 2023-06-07

    You'll likely need to make use of the `ssh` or `ssh2` crate, depending on whether you want to use `libssh` or `libssh2` (two different libraries) for the SSH protocol. Then, if you choose `libssh`, you'll need to port https://github.com/codinn/libssh/blob/master/examples/sshnetcat.c and if you choose `libssh` you'll need to port https://github.com/libssh2/libssh2/blob/master/example/tcpip-forward.c to Rust.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • SLRE

    Super Light Regexp engine for C/C++

  • Better String

    The Better String Library

    Project mention: I wish C and C++ would modernize way faster | /r/ProgrammingLanguages | 2023-03-23

    Oh Jesus Christ. First of all I have. But that's not the point. Why is it in there in the first place? And why would POSIX invest their time implementing strtok_r? Do you really think they were "just kidding" and always intended on you writing your own? Besides, how is "writing your own" a better solution than using strtok_r which is widely available -- just not part of the standard?

  • libcpuid

    a small C library for x86 CPU detection and feature extraction

  • semver.c

    Semantic version in ANSI C

  • ub-canaries

    collection of C/C++ programs that try to get compilers to exploit undefined behavior

  • libnih

    NIH Utility Library

  • libevil

    The Evil License Manager

  • ptldd

    Tracks dependencies for Windows EXE and DLL (forked and modified from LRN/ntldd)

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

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-09-05.

C Miscellaneous related posts


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

Project Stars
1 Redis 61,522
2 stb 23,164
3 SDS 4,553
4 Klib 3,847
5 ZBar 2,416
6 AtomVM 1,222
7 libssh2 1,168
8 SLRE 509
9 Better String 434
10 libcpuid 391
11 semver.c 174
12 ub-canaries 167
13 libnih 88
14 libevil 28
15 ptldd 1
Tired of breaking your main and manually rebasing outdated pull requests?
Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.