by hutusi

hutusi / rethink-c

A reuseable codebase for C Programming Language.

214 Stars 17 Forks Last release: Not found MIT License 75 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Build Status

Relearn and rethink C Programming Language, including some of data structures and algorithms.

The code is licensed under the MIT license, copyright by

Some of the code inspired (copied) by Simon Howard's c-algorithms, like ArrayList, etc. This project also reused his alloc-testing framework for memory testing.

RETHINK-C aims to build a reuseable codebase for C Programming Language.

How to build & test


  • Editor/IDE: VS Code is recommended.
  • GCC on Mac, Linux or Windows. (Recommend msys2 + MingW on Windows.)
  • CMake.
  • Clang-Format.

build & test:

  • build
cd build
cmake ..
  • test:
make test

Goals / Achievements

Basic Data Structures



String & Text



  • [ ] Matrix multiplication
  • [x] Eratosthenes sieve (prime numbers) prime.h prime.c

Distance Measures


  • [ ] Bloom filter

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.