💾 Archived View for gemini.susa.net › gen › Awesome-C_kozross.gmi captured on 2022-03-01 at 15:15:37. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
A curated list of good C stuff which is open_source. This was created by GitHub user kozross, and released under a Creative Commons-Attribution-ShareAlike license, version 4 (SPDX code CC-BY-SA-4.0). You can find its text in the LICENSE file of the original project, along with latest updates, at the link below.
https://github.com/kozross/awesome-c
The list I present here has been simplified to keep it readable as gemtext. In the original, there's more detail on licenses for each entry.
I'm struck by just how much good stuff there is for C programming, having been distracted by higher level languages for so long. Still, I'm not going to lie - C, right now at least, feels tedious in comparison.
ccv: C-based/Cached/Core Computer Vision library; modern computer vision.
Cranium: Portable, header-only ANN library in C99.
FANN: Fast Artifical Neural Network library; an implementation of neural networks.
Genann: Simple ANN in C89, without additional dependencies.
LibDEEP: Deep learning library.
b63: Light-weight micro-benchmarking tool for C.
CMake: Cross-platform family of tools designed to build, package and test software.
GNU Make: Tool which controls the generation of executables and other non-source files of a program.
Meson: Extremely fast, user-friendly build system.
SCons: Software construction tool using Python.
xmake: Cross-platform build utility.
zproject: Project generator and build system support tool.
ccache: Compiler cache designed to speed up recompilation.
distcc: Program that allows builds to be distributed among several machines.
GCC: Provides a C compiler as part of its compiler set.
blosc: Extremely fast, multi-threaded, meta-compressor library.
Brotli: General-purpose lossless compression algorithm library.
clzip: C version of the high-quality data compressor [Lzip][433] (LZMA implementation).
CRoaring: C implementation of [Roaring bitmaps][482].
FiniteStateEntropy: Two highly efficient compression codecs optimized for modern CPUs.
DENSITY: Super-fast compression library.
heatshrink: Data compression/decompression library for embedded and real-time systems.
fast\_zlib: Improved zlib, which runs 2 to 10 times faster.
huffandpuff: Minimal Huffman encoder and decoder.
libbzip2: Patent-free, high-quality data compression library.
Lizard: Formerly LZ5; an efficient compressor with fast decompression.
lz4: Library for an extremely fast compression algorithm.
lzo: Fast data compression library.
pixz: Parallel, indexed xz compressor.
shoco: Compressor for small text strings.
SIMDComp: Simple library for compressing lists of integers using binary packing.
smaz: Efficient string compression library.
squash: Compression abstraction library, complete with some utilities.
TurboPFor: Fastest integer compression.
TurboRLE: Most efficient run-length encoding.
zip: Really really small zip archive processing library.
Zlib: Massively spiffy yet delicately unobtrusive compression library.
zlib-ng: Zlib replacement with optimizations for 'next-generation' systems.
cchan: Small library for channel constructs for inter-thread communication.
checkedthreads: A simple library for parallelism, with built-in checking for race conditions.
ck: Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures.
FCFS RWLock: First-come first-served Readers/Writers lock for POSIX threads.
libconcurrent: Concurrent programming library, using coroutines, for C11.
libdill: Library which makes structured concurrent programming easy.
libhl: Library implementing a thread-safe API to manage a range of data structures.
liburcu: Data synchronization library, which scales linearly with the number of cores.
oclkit: Two-file OpenCL wrapper.
OCL-MLA: OpenCL Mid-Level Abstractions.
OpenMP: Set of pragmas designed to allow for easy parallelization of code.
OpenMPI: Message passing interface implementation.
pal: Optimized library for maths, parallel processing and data movement.
pthreads: POSIX thread library.
TinyCThread: Portable, small implementation of the C11 threads API.
GnuTLS: Secure communication library, implementing SSL, TLS and DTLS.
libgcrypt: General-purpose cryptography library, with a range of available ciphers.
OpenSSL: Implementation of the SSL and TLS protocols.
liboqs: Library for quantum-resistant cryptographicl algorithms.
libsodium: Modern and easy-to-use crypto library.
libtomcrypt: Fairly comprehensive, modular and portable cryptographic toolkit.
mbed TLS: Another crypto implementation.
sphlib: Set of implementations of various hash functions, including several cryptographic ones.
trezor-crypto: Heavily optimized crypto algorithms for embedded devices.
BerkeleyDB: Library for a high-performance embedded database for key-value data.
EJDB2: Embeddable JSON Database engine.
Groonga: Columnar store with full-text search.
Hiredis: Minimalistic client library for Redis.
libmongoc: High-performance client library for [MongoDB][234].
LMDB: Ultra-fast, ultra-compact key-value embedded data store.
MySQL: The world's most popular open source database.
PostgreSQL: Powerful object-relational database system.
Redis: Advanced key-value store.
sophia: Modern, embeddable key-value database.
sparkey: Simple constant key/value storage library.
SQLite: Self-contained, serverless, zero-configuration, transactional SQL database engine.
UnQLite: Self-contained, serverless, zero-configuration, transactional NoSQL engine.
WhiteDB: Lightweight database library, operating entirely in main memory.
C-Macro-Collections: Generate simple and generic data structures using macros.
CLIST: Simple and lightweight [dynamic array][25] implementation.
Collections-C: Library of generic data structures.
kdtree: Simple library for working with KD-trees.
libavl: Library containing a range of self-balancing binary trees.
ds: Common Data Structures and Algorithms.
igraph: A graph processing library.
liblfds: Portable lock-free data structure library.
M\*LIB: Library for generic, but typesafe C containers.
offbrand: Collection of generic, reference-counted data structures.
libsrt: Soft and hard real-time data structures.
list.h: Implementations for singly linked and doubly linked list functions.
PackedArray: Random-access array of tightly packed unsigned integers of any desired width.
uthash: Single-file hash table implementation.
vector.h: Header library for typed lists.
Complexity: Tool for measuring the complexity of source code.
CScout: Source code analyzer and refactoring browser for C programs.
DDD: Graphical front-end for a range of command-line debuggers.
debug: One-header library for easier 'printf debugging'.
rr: Debugger that records non-deterministic executions to allow for deterministic debugging.
Valgrind: Range of dynamic analysis tools, including a leak checker.
Cxref: Generates documentation in either LaTeX, HTML, RTF or SGML.
DocOnce: Modestly tagged markup language that can be used to generate a range of formats.
Doxygen: De-facto standard tool for generating documentation from annotated sources.
Code::Blocks: Extendable, configurable IDE supporting C.
APR: Apache Portable Runtime; another library of cross-platform utility functions.
C Algorithms: Collection of common algorithms and data structures.
EFL: Large collection of useful data structures and functions.
klib: Small and lightweight implementations of common algorithms and data structures.
libcork: Utility functions and structures, designed for resource-constrained systems.
libnih: Lightweight library of functions and structures.
PBL: Large library of utilities, featuring data structures, among other things.
TBOX: Multi-platform library with a large number of capabilities.
Allegro: Cross-platform, video game development and multimedia library.
cglm: 📽 Optimized OpenGL/Graphics Math (glm) for C.
Chipmunk2D: Fast and lightweight 2D game physics library.
cmt: 🎮 C Bindings/Wrappers for Apple's METAL Graphics Framework.
Corange: Game engine in pure C.
CSFML: Binding for [SFML][91].
Darkplaces: Modified version of the Quake2 engine.
Epoxy: Library for handling OpenGL function pointer management.
Flecs: A Multithreaded Entity Component System written for C89 & C99.
FreeGLUT: Alternative to the OpenGL Utility Toolkit.
GLFW: Multi-platform library for creating windows with OpenGL contexts.
ioquake3: Quake3 engine, freed at last.
kazmath: Maths library for games.
libao: Cross-platform audio library with a wide variety of outputs.
MATHC: Math library for 2D and 3D programming.
Orx: Portable, lightweight, plugin-based, data-driven, 2D-oriented game engine.
raylib: Simple and easy-to-use library to learn video game programming.
RetroArch: Reference frontend for [libretro][232].
sdl-gpu: Library for high-performance, modern 2D graphics.
uastar: Minimal A\* implementation.
cmt: 🎮 C Bindings/Wrappers for Apple's METAL Graphics Framework.
giflib: Library for reading and writing gif images.
graphene: Thin layer of graphical data types.
libcaca: ASCII renderer for terminal-based interfaces.
libgd: Library for the dynamic creation of images by programmers.
libjpeg-turbo: Faster library for reading and writing JPEG files.
libpng: Official PNG reference library.
libRSVG: Library to render SVG files using Cairo.
libsixel: Library implementing the SIXEL protocol, allowing beautiful graphics in your terminal.
libspng: A simpler interface for reading and writing PNG files.
libvips: Image processing library.
libxmi: Function library for rasterizing 2D vector graphics.
lightmapper: Single-file library for lightmap baking, using an existing OpenGL renderer.
mozjpeg: Improved JPEG encoder.
nanovg: Anti-aliased 2D vector drawing library on top of OpenGL, for UI and visualizations.
OpenGL: Industry standard for high-performance graphics, with a native C binding.
GTK+: Cross-platform widget toolkit.
IUP: Another cross-platform widget toolkit.
nuklear: Small, C89, single-header widget toolkit.
tinyfiledialogs: Single-file library for simple dialogs.
XForms Toolkit: Widget toolkit designed for the XWindow system.
CLHash: Library implementing the ridiculously fast CLHash hashing function.
HighwayHash: Fast, strong, SIMD-using hash function.
SpookyHash: Extremely fast hash function.
t1ha: Fast Positive Hash - a portable, fast hash function.
xxHash: Extremely fast hashing algorithm.
C: A Reference Manual 5E: Full reference book for C99.
C in a Nutshell 2E: Concise reference book for C11.
C Pocket Reference: Concise reference book for C99.
The C Programming Language 2E: Original book on C, by its creators.
C Primer Plus 6E: Complete tutorial on programming in C11.
C Programming: A Modern Approach: Excellent book to learn the basics of C.
Head First C: 'Head-first' style book for learning C.
21st Century C: Good _second_ programming book on C.
Understanding and Using C Pointers: In-depth resource on pointers in C.
ZeroMQ: Book for using ZeroMQ with C.
flex: Fast lexical analyzer generator.
hammer: Parser combinators for binary formats.
mpc: Parser combinator library.
re2c: Lexer generator, producing fast lexers, with access to its internals.
Boehm GC: Garbage collection for C.
Lockless Memory Allocator: Efficient memory allocator.
libcsptr: Smart pointers for C.
rpmalloc: Thread-caching, fast memory allocator, naturally aligned on 32-byte boundaries.
talloc: Hierarchical, reference-counted memory pool system with destructors.
aubio: Library for audio and music analysis.
FFMPEG: Complete, cross-platform solution to record, convert and stream audio and video.
GStreamer: Framework for audio and visual media.
libmpv: Music-playing library.
libsndfile: Library for reading and writing sound files.
libsoundio: Library for cross-platform, real-time audio input and output.
libVLC: Complete multimedia library for audio and video encoding, decoding, playing and streaming.
lodepng: Simple PNG image decoder and encoder, requiring no other dependencies.
minimp3: Lightweight MP3 decoder single header library.
Soundpipe: Lightweight music DSP library.
CHL: C Hypertext Library - A library for writing web applications in C.
czmq: High-level binding for ZeroMQ.
Dyad.c: Lightweight, easy, asynchronous networking library.
GNU adns: Advanced, easy-to-use, asynch-capable DNS client library and utilities.
gumbo-parser: HTML5 parsing library in C99.
H20: A new-generation HTTP server.
http-parser: HTTP request/response parser.
ldns: Library to simplify DNS programming.
libcurl: Client-side URL transfer library, supporting a wide range of formats.
LibEtPan: Mail library providing an efficient network for IMAP, SMTP, POP and NNTP.
libev: Yet another event loop.
libevent: Event loop replacement for network servers.
libhttpd: Library to add basic web server capabilities to an application or embedded device.
libhv: Cross platform event loop library.
libidn: Implementation of the Stringprep, Punycode and IDNA specifications.
libonion: HTTP server library, designed to be easy to use.
libquickmail: Library intended to give developers a way to send email from their applications.
libsagui: Library for cross-platform HTTP servers.
LibVNCServer: Cross-platform libraries to implement VNC server and/or client functionality.
libwebsock: Easy-to-use and powerful web socket library.
lwan: Experimental, scalable, high-performance HTTP server.
mongoose: Embedded web server.
MQTT-C: A portable MQTT C client for embedded systems and PCs alike.
nanomsg: C-based implementation of ZeroMQ.
NNG: nanomsg-next-generation - lightweight brokerless messaging.
oSip: SIP implementation without additional dependencies.
socket99: C99 wrapper for the BSD sockets API.
twitc: Mini library for interacting with the Twitter OAuth API.
uriparser: Strictly RFC 3986-compliant URI parsing and handling library.
zyre: Framework for proximity-based peer-to-peer applications.
libpcap: API provides to various kernel packet capture mechanism.
apophenia: Library for statistical and scientific computing.
Arb: Library for arbitrary-precision interval arithmetic.
ATLAS: Automatically Tuned Linear Algebra Software.
clBLAS: BLAS functions written in OpenCL.
cmathl: Math library with a great variety of mathematical functions with CMake build support.
Cuba: Library for multidimensional numerical integration.
FFTW: The Fastest Fourier Transform in the West; a highly optimized fast Fourier transform routine.
GMP: GNU Multple Precision Arithmetic Library; a library for arbitrary-precision arithmetic.
GNU MPC: Library for complex number arithmetic.
GNU MPFR: Library for arbitrary-precision floating-point arithmetic.
GNU MPRIA: Portable mathematics library for multi-precision rational interval arithmetic.
GSL: The GNU Scientific Library; a sophisticated numerical library.
KISS FFT: Simple fast Fourier transform library.
LAPACKE: Interface to [LAPACK][134].
LibTomMath: Portable, number-theoretic, multiple-precision integer library.
LibTomPoly: Polynomial-related maths library.
PARI/GP: Computer algebra system for number theory; includes a compiler to C.
SLEPc: Library for the solution of large, sparse eigenvalue problems on parallel computers.
TomsFastMath: Set of optimized maths operations (in assembly), suitable for cryptographic use.
Yeppp!: Fast, SIMD-optimized mathematical library.
gperftools: Collection of utilities for measuring and improving performance.
gprof: Performance analysis tool.
OProfile: Statistical profiler for Linux.
perf: Linux kernel-based profiler with a lot of functionality.
Onigmo: Fork of Oniguruma, supporting more advanced regexps.
PCRE: Implementation of regexes identical to that of Perl 5.
TRE: POSIX-compliant, feature-full regex library.
binn: Binary serialization format, meant to be compact, fast and easy-to-use.
c-capnproto: Implementation of the Cap'n Proto serialization protocol.
cmp: Implementation of the [MessagePack][379] serialization protocol.
flatcc: [FlatBuffers][145] compiler and library.
libavro: Implementation of the Avro data serialization system.
mpack: Another implementation of the [MessagePack][379] serialization protocol.
protobuf-c: Implementation of Google Protocol Buffer.
tpl: Small binary serialization library.
xdr: External Data Representation; a standard for data serialization.
pbtools: Google Protocol Buffers C source code generator.
CCAN: Modelled after Perl's CPAN, this is a big collection of code that does stuff.
clib: Something of a package manager.
gnulib: Collection of common GNU code.
libdjb: Collection of libraries doing various things.
mmx: Collection of single-header libraries.
par: Bunch of single-file libraries.
Snippets: Useful code snippets and header-only libraries.
stb: Range of single-file libraries.
tinyheaders: Collection of header-only libraries, primarily oriented toward game development.
Bionic: Google's standard library, developed for Android.
cloudlibc: Standard library based on the concept of [capability-based security][487].
dietlibc: Standard library designed for the smallest possible binaries.
glibc: The GNU C Library; an implementation of the standard library.
musl: Standard library, compatible with POSIX 2008 and C11.
PDCLib: The Public Domain C Library.
uClibc-ng: Small C library for developing embedded systems.
bstring: The Better String Library.
ICU: International Components for Unicode; a library for Unicode support.
levenstein.c: [Levenstein distance][334] algorithm implementation.
libunistring: Library for manipulating Unicode strings.
libgiconv: Text conversion library.
librope: UTF-8 rope ('heavy' string) library.
stmr.c: [Porter Stemmer][367] algorithm implementation.
utf8.h: Single-header UTF-8 library, designed to mimic C-style string functions.
utf8proc: Library for processing UTF-8 data.
libcsv: Simple, streaming CSV parser.
Jansson: Library for encoding, decoding and manipulating JSON.
jfes: JSON For Embedded Systems; simple JSON engine without any dependencies.
jsmn: Minimalistic JSON parser.
json: Simple, low-memory-use JSON parser.
json.c: Easily work with JSON in C.
json.h: Single-file non-streaming JSON parser.
parson: Two-file, C89-compatible JSON parser.
WJElement: Advanced JSON manipulation library, with support for JSON Schema.
YAJL: Fast streaming JSON parser library.
inih: Small and simple INI file parser, good for embedded systems.
libconfini: Yet another INI parser.
minIni: Small and portable INI parser.
libbson: BSON utility library.
libconfuse: Small configuration file parser library.
libelf: Simple library for parsing ELF files.
libucl: Universal configuration library parser.
Expat: Stream-oriented XML parser.
libxml2: Standards-compliant, portable XML parser.
xml: Simple, low-memory-use XML parser / tokenizer.
CHEAT: Simple unit testing framework.
Check: Unit testing framework.
ciut: A modern minimal hassle unit test framework.
clar: Clear and simple unit testing framework.
cmocka: Unit testing framework with support for mock objects.
Criterion: KISS, non-intrusive test framework.
ctest: Yet another unit testing framework.
CUnit: Another unit testing framework.
greatest: Unit testing library in one file, with no memory allocation.
minctest: Unit testing microlibrary.
munit: Small unit testing framework.
Nala: A test framework for C projects.
Rexo: Framework for C89/C++ featuring automatic registration of tests and a polished API.
theft: Property-based testing (similar to [Quickcheck][301]).
Unity: Simple unit testing framework.
utest: Single-header unit testing library.
CCompletion: Notepad++ autocompletion plugin.
Flycheck: Modern syntax checking for Emacs.
Neomake: Async :make and linting framework for Neovim/Vim.
Syntastic: Syntax checking and linting for Vim.
YASnippet: Emacs code template system, with C templates for common snippets.
YouCompleteMe: Code completion engine for Vim.
Artistic Style: Fast and small automatic source code formatter that supports C.
address-sanitizer: Fast memory error detector.
c: Compile and execute C "scripts" in one go on the command line.
c99sh: Run C files using hash-bang.
cdecl: Online service to translate C declarations into English and vice versa.
cinclude2dot: Graphs include dependencies in a project using Graphviz.
ClangCheck: Static analysis tool, designed to work with Clang.
conan.io: Something of a package manager for C.
Cppcheck: Static analysis tool.
Glade: RAD tool to enable quick development of GTK+ GUIs.
GMSL: GNU Make Standard Library; a collection of additional functionality for GNU Make.
GNU Global: Source code tagging tool.
GPP: General-purpose preprocessor.
Highlight: Converts source code to formatted text with nice highlighting.
include-what-you-use: Helps find unecessary inclusions and make suggestions for fixing them.
indent: Formats C source code automatically to make it easier to read.
SMACK: Modular software verification toolchain and a self-contained software verifier.
ApeTagLibs: Library for working with APEv2 tags.
argparse: Command-line argument parsing library, inspired by Python's argparse module.
attr: Commands for manipulating filesystem extended attributes.
bfd: Library for manipulating binary object files.
Caffeine: Library for building daemons and services for Linux and FreeBSD systems.
CException: Implementation of exceptions.
CommonMark: Implementation of the CommonMark spec.
cpu\_features: Get CPU features at runtime.
D-Bus: Simple way for applications to talk to one another.
Discount: Simple implementation of a Markdown parser.
dlx: Implementation of [Knuth's Algorithm X][389], with example solvers.
docopt.c: Implementation of a command-line option parser.
dyncall: Another foreign function interface library.
GNU FreeIPMI: In-band and out-of-band IPMI implementation.
GNU gperf: Perfect hash function generator, given a list of strings.
GNU Libffcall: Collection of libraries for building foreign function interfaces.
Hoedown: Fully standards-compliant, extension-supporting, UTF-8 aware, fast Markdown parser.
Kitsune: Efficient, general-purpose framework for dynamic software updating.
libCello: Library introducing higher-level programming to C.
libcmark: Library for parsing the CommonMark dialect of Markdown.
libcoap: Implementation of the [Constrained Application Protocol][117].
libffi: Portable foreign-function interface library.
libgeohash: Pure C implementation of the Geohash algorithm.
libgit2: Portable implementation of the Git core methods, provided as a re-entrant linkable library.
libgss: Generic Security Service.
libimobiledevice: Cross-platform protocol library to communicate with iThings.
libnfc: Platform-independent Near-Field Communication library.
libpostal: Library for parsing and normalization of street addresses around the world.
libusb: Provides generic access to USB devices.
libuv: Cross-platform asynchronous I/O.
libvldmail: Your friendly email validation library.
linenoise: Small, self-contained alternative to readline and libedit.
MegaMimes: Library for getting the [MIME][30] types of a file.
ncurses: Coloured terminal UI library.
netbsd-curses: Simplified and small version of ncurses, with the same interface.
parg: A single-file reimplementation of ``getopt`` with better defaults.
pbc: Protocol buffers library.
progressbar: Easy-to-use library for displaying text progress bars.
rabbitmq-c: Client library for [RabbitMQ][229].
Ragel: DSL for state machines that compiles to C.
Rogueutil: Cross-platform library for creating text-based user interfaces (TUI) [``Apache-2.
termbox: Library for writing text-based interfaces.
tm: ⏱ Timer and Timeline Utils for C.
Tulip Indicators: Library of functions for technical analysis of financial data.
whereami: One-file library for locating the current executable on the file system.
XLSX I/O: Cross-platform library for reading and writing .
zlog: Reliable, pure C logging library.
zproto: Protocol framework for ZeroMQ.
facil.io: Mini-framework for web applications.
kcgi: CGI and FastCGI library for C [``ISC``][ISC].
Kore: Easy-to-use web application framework for writing scalable web APIs in C.
Cygwin: Designed to emulate a POSIX-compatible environment extensively under Windows.
MinGW-w64: Minimalist environment for C development on Windows with 64 bit support.