STC VS CommonC

Compare STC vs CommonC and see what are their differences.

STC

A modern, user friendly, generic, type-safe and fast C99 container library: String, Vector, Sorted and Unordered Map and Set, Deque, Forward List, Smart Pointers, Bitset and Random numbers. (by stclib)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
STC CommonC
89 3
1,158 0
7.9% -
9.1 7.5
about 1 month ago 28 days ago
C C
MIT License BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

STC

Posts with mentions or reviews of STC. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-06.

CommonC

Posts with mentions or reviews of CommonC. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-01-02.
  • How do you deal with C's lack of true generics / templates?
    5 projects | /r/C_Programming | 2 Jan 2021
    Now for that disgusting pile of steaming hot spaghetti, the implementation itself. Basically the macros used are defined across a number of headers: Hacks.h (not everything is relevant here, mostly the stuff to do with counting, retrieving last arg, maps, etc.), Generics.h, Generic.h (this will probably be renamed to Generic1.h as it’s only used for single parameter templates generics), and finally Template.h which is where most of the heavy lifting is being done. So yeh, it’s disgusting but it works... but it’s disgusting. So please please please no one think about using it, it will without a doubt make your life miserable (and it will make my life miserable if I have to support this) as it’s almost a guarantee that there’ll be use cases that haven’t been handled and most likely has tons of bugs hiding in that mess.

What are some alternatives?

When comparing STC and CommonC you can also consider the following projects:

ctl - The C Template Library

stent - Completely avoid dangling pointers in C.

mlib - Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).

Klib - A standalone and lightweight C library

ctl - My variant of the C Template Library

ccan - The C Code Archive Network

unordered_dense - A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion

sgc - Generic Algorithms and Data Structures in C

Containers - This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.

NuDB - NuDB: A fast key/value insert-only database for SSD drives in C++11

langs