nowfound

Life & fun · alternatives · 2026

24 alternatives to Fast integer compression library in C

A very fast scalar implementation for Frame Of Reference integer compression. - cruppstahl/libfor

libfor is a C library that compresses integers using Frame Of Reference encoding, a technique that reduces storage size by representing numbers relative to a base value. It's designed for developers who need fast… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Fast integer compression library in C launched in 2015; newer entries below may have overtaken it.

  1. 1

    fundamental tools in the spirit of C. Contribute to codr7/libcodr7 development by creating an account on GitHub.

    2019 · github.com · its alternatives →

  2. 2

    Fastest Integer Compression. Contribute to powturbo/TurboPFor-Integer-Compression development by creating an account on GitHub.

    2015 · github.com · its alternatives →

  3. 3

    Smart pointers for the (GNU) C programming language - Snaipe/libcsptr

    2015 · github.com · its alternatives →

  4. 4

    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 →

  5. 5

    This project presents a new data structure for storing ordered integer maps. The proposed data structure is a compressive, cache-friendly, radix tree that has performance comparable to an unordered map (`std::unordered_map`) and is an order of magnitude faster than an ordered map (`std::map`).

    2024 · github.com · its alternatives →

  6. 6

    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 →

  7. 7

    Geometry library for C - Fast point-in-polygon. Contribute to tidwall/tg development by creating an account on GitHub.

    2023 · github.com · its alternatives →

  8. 8

    Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod

    2014 · github.com · its alternatives →

  9. 9

    A fun toy memory allocator (not thread safe, that's a future TODO). I also wanted to explain how I approached it, so I also wrote a tutorial blog post (~20 minute read) covering the code which you can find the link to in the README.

    Nov 2025 · github.com · its alternatives →

  10. 10

    Simple, zero-dependency garbage collection for C. Contribute to mkirchner/gc development by creating an account on GitHub.

    2019 · github.com · its alternatives →

  11. 11

    Faster LZMA decoder for x86 CPUs (patch for XZ Utils). - faster_lzma_decoder_x86.patch

    2021 · gist.github.com · its alternatives →

  12. 12LA
  13. 13

    Programming language that compiles into a x86 ELF executable. - riicchhaarrd/ocean

    2021 · github.com · its alternatives →

  14. 14

    LoopMix128 is a fast C PRNG I wrote for non-cryptographic tasks. GitHub (MIT): https://github.com/danielcota/LoopMix128 Highlights: * ~0.37 ns/value (GCC 11.4, -O3 -march=native), 98% faster than xoroshiro128++ and PCG64. * Passes TestU01 BigCrush & PractRand (32TB). * Guaranteed 2^128 period. * Proven injective (192-bit state) via Z3 SMT solver; allows parallel streams. * Core requires only stdint.h. Seeking feedback on design, use cases, or further testing.

    2025 · github.com · its alternatives →

  15. 15

    A small, portable, linear probing hash map. Contribute to e-dant/salmagundi development by creating an account on GitHub.

    2024 · github.com · its alternatives →

  16. 16

    I wrote libcorrect in C in 2016 and wanted to revisit it in Rust. Instead of doing just a direct conversion, I went down the rabbit hole of making Rust's std::simd work for me. I ended up with a templated, generic Viterbi decoder for convolutional codes that dispatches the decode at runtime depending on which instruction sets are available. For small rates and orders, the entire decode lives in registers. Larger codes work through memory but take advantage of some acceleration structures. I also spent some time building a tool to find optimal (max d_free) conv codes for a given rate and…

    Aug 2026 · github.com · its alternatives →

  17. 17GI

    Hi all! I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;) Anyways... here's the repo: https://github.com/liam-ilan/crumb I started learning C over the summer, so I still have a whole lot to learn... Any feedback would be greatly appreciated! :D

    2023 · its alternatives →

  18. 18

    I've spent the last few months working on this codec. It has the following characteristics: - SOTA decompression throughput in its ratio class - Decent ratios (comparable to LZ4 at high effort levels) - Slow compression Most of the gains can be attributed to reducing branches and making decompression very friendly to out-of-order cores, by using a smart format. Results on the tarred Silesia corpus on Intel x86-64 follow: codec decode ratio encode misa77 -0 5219 MB/s 42.64% 54.5 MB/s misa77 -1 4274 MB/s 39.65% 51.2 MB/s lz4 2505 MB/s 47.59% 371 MB/s lz4hc -12…

    Jul 2026 · github.com · its alternatives →

  19. 19

    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 →

  20. 20

    Simple, easy to use stream computation library for C++.

    2016 · raftlib.io · its alternatives →

  21. 21OA

    I built an experiment that uses an overfitted transformer and arithmetic coding to compress individual files. Instead of training the model to generalize, I train a 900KB transformer to memorize a single file and predict the next byte. Those predictions are fed into an arithmetic coder to produce the compressed output. On a 100MB NYC taxi CSV, it compresses to about 7MB (~0.5 bits/byte). On a 100MB slice of enwik9, it compresses to about 21MB (~1.68 bits/byte). It's pretty slow right now (roughly 20–30 minutes of training and 45 minutes each for compression and decompression on my…

    Jun 2026 · its alternatives →

  22. 22IB

    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 →

  23. 23LA

    tl;dr I'm developing an incredibly fast library for arrays and mathematics, and I've implemented a few new features and made some improvements. I'd love for you to check it out! Links: GitHub: https://github.com/LibRapid/librapid/ Documentation: https://librapid.readthedocs.io/en/latest/ Discord: https://discord.com/invite/cGxTFTgCAC Hey everyone! I am the lead developer of LibRapid (https://github.com/LibRapid/librapid/), a high-performance C++ library for array manipulation and mathematics. I've…

    2023 · its alternatives →

  24. 24

    integer compression library for Zig based on FastLanes - steelcake/zint

    Dec 2025 · github.com · its alternatives →

Also compare

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 →