Dev tools · alternatives · 2026
24 alternatives to libsrt – fast C library with heap and stack allocation
libsrt is a C library for writing fast and safe C code, faster. It provides string, vector, bit set, set, map, hash set, and hash map handling. Suitable for soft and hard real-time. Allows both heap and stack allocation. *BETA* (API still can change: suggestions are welcome) - faragon/libsrt
Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. libsrt – fast C library with heap and stack allocation launched in 2015; newer entries below may have overtaken it.
- 1

Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and/or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…
2023 · github.com · its alternatives →
- 2LA
2015 · libcox.net · its alternatives →
- 3

A small, portable, linear probing hash map. Contribute to e-dant/salmagundi development by creating an account on GitHub.
2024 · github.com · its alternatives →
- 4

fundamental tools in the spirit of C. Contribute to codr7/libcodr7 development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 5

Smart pointers for the (GNU) C programming language - Snaipe/libcsptr
2015 · github.com · its alternatives →
- 6

a lightweight web framework in c. Contribute to ashtonjamesd/lavandula development by creating an account on GitHub.
2025 · github.com · its alternatives →
- 7

A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects. - GitHub - rochus-keller/CspChan: A pure C (-std=c89) implementation of Go channels, including blocking and non-blocking selects.
2023 · github.com · its alternatives →
- 8IB
This weekend I created stacklib.h - a single-header library that brings Forth-style stack operations to C. It implements a basic interpreter with: - Stack operations (push/pop/dup/swap/over/drop) - Arithmetic (+, -, *, /) - Output (., emit, cr) - Stack inspection (.s, depth) Example usage: Stack s; stack_init(&s); dict_init(); exec(&s, "10 20 + ."); // Prints "30" exec(&s, "1 2 3 4 .s"); // Shows stack contents The library is self-contained, requires no dependencies, and handles basic error checking. It was inspired by wanting to understand…
2025 · its alternatives →
- 9

:copyright: Concurrent Programming Library (Coroutine) for C11 - sharow/libconcurrent
2016 · github.com · its alternatives →
- 10

Hi HN! I've built [CXXStateTree](https://github.com/ZigRazor/CXXStateTree), a modern C++ header-only library to create hierarchical state machines with clean, intuitive APIs. It supports: - Deeply nested states - Entry/exit handlers - State transitions with guards and actions - Asynchronous transitions with `co_await` (C++20 coroutines) - Optional runtime type identification for flexibility It's ideal for complex control logic, embedded systems, games, robotics, and anywhere you'd use a finite state machine. I’d love feedback, use cases, or contributions from the…
2025 · github.com · its alternatives →
- 11LT
2016 · brian-armstrong.github.io · its alternatives →
- 12

Pure C implementation of Go channels. Contribute to tylertreat/chan development by creating an account on GitHub.
2014 · github.com · its alternatives →
- 13

Geometry library for C - Fast point-in-polygon. Contribute to tidwall/tg development by creating an account on GitHub.
2023 · github.com · its alternatives →
- 14

A repository that collects libc ABI files for multiple versions and a tool to combine them into one dataset. - ziglang/libc-abi-tools
2021 · github.com · its alternatives →
- 15

Single header stackful cross-platform coroutine library in pure C. - edubart/minicoro
2021 · github.com · its alternatives →
- 16

A very fast scalar implementation for Frame Of Reference integer compression. - cruppstahl/libfor
2015 · github.com · its alternatives →
- 17

A wicked-powerful text macro language for building binary files. - thosakwe/t2b
2018 · github.com · its alternatives →
- 18

Concurrency library for C (coroutines). Contribute to tidwall/neco development by creating an account on GitHub.
2024 · github.com · its alternatives →
- 19CL
2013 · theck01.github.io · its alternatives →
- 20

C simple and elegant implementation of an actor library - GitHub - FedeDP/libmodule: C simple and elegant implementation of an actor library
2018 · github.com · its alternatives →
- 21HA
Hsdlib is a small C library for fast vector distance and similarity calculations. At the moment, it supports: - Euclidean, Manhattan, and Hamming distances - Dot product, cosine, and Jaccard similarities Hsdlib uses SIMD acceleration (AVX, AVX2, AVX512, NEON, and SVE instructions) to speed things up. GitHub link: https://github.com/habedi/hsdlib
2025 · its alternatives →
- 22SA
Hi everyone, I've made an open-source library for fast spatial search in Rust. It's called Spart, and it currently provides the following features: - Five tree implementations: Quadtree, Octree, Kd-tree, R-tree, and R*-tree - Python bindings (`pyspart` on PyPI) - Fast k-nearest neighbor (kNN) and radius search - Bulk data loading for efficient tree construction Project's GitHub repo: https://github.com/habedi/spart
2025 · its alternatives →
- 23

An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing - zanellia/prometeo
2021 · github.com · its alternatives →
- 24

Heap based scheme machine. GitHub Gist: instantly share code, notes, and snippets.
2025 · gist.github.com · its alternatives →
Also compare
- A hash array-mapped trie implementation in C alternatives
- Libcox – A C Library for Cross-Platform System Calls alternatives
- A portable hash map in C alternatives
- libcodr7 – fundamental collections in the spirit of C alternatives
- Smart pointers for the C programming language alternatives
- I built a web framework in C alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →