JacksonAllan/CC
View on GitHub ↗ ★ 501 C
A small, ergonomic generic container library.
11 mentions on Hacker News by 7 people: 5 stories, 6 comments · first 2023-01-28 · latest 2026-01-24
20082026
-
▲ 1
Better C Generics: The Extendible _Genericstory by marcodiego · 2026-01-24 · 0 comments
-
▲ 2
CC: Small, ergonomic generic container library for C23story by klaussilveira · 2025-11-24 · 0 comments
-
…assumed -fopenmp https://github.com/stclib/STC/blob/de7313a58f748d9a6da751eb9... CC: assumed clang https://github.com/JacksonAllan/CC/blob/main/tests/run_unit_...
comment by fuhsnn · 2025-08-17 · in Comparison of different C libraries providing generic containers capabilities -
…own generic containers. [1] https://gist.github.com/attractivechaos/6815764c213f38802227... [2] https://github.com/JacksonAllan/CC/blob/main/articles/Better... [3] https://github.com/JacksonAllan/Verstable [4]…
comment by JacksonAllan · 2025-06-30 · in I write type-safe generic data structures in C -
▲ 2
Show HN: Convenient Containers – ergonomic generics in Cstory by JacksonAllan · 2025-04-23 · 0 comments
-
…she supplies an argument with potential side effects to a macro that evaluates it multiple times: https://github.com/JacksonAllan/CC/blob/42a7d810274a698dff87... Specifically, if (arg)==(arg) is not a constant expression, then it could…
comment by JacksonAllan · 2025-04-22 · in Detecting if an expression is constant in C -
I've never heard of CC before; the ergonomics of it look positively _modern_. https://github.com/JacksonAllan/CC
comment by dleslie · 2025-03-19 · in Implementing Generic Types in C -
…as "inline". IIRC, this library uses this style of generic programming with a very nice API: https://github.com/JacksonAllan/CC It's just unfortunate that everything needs to get inlined for good performance.
comment by camel-cdr · 2024-10-03 · in Type-erased generic functions for C: A modest non-proposal -
…tables ( https://github.com/Tessil/robin-map , https://github.com/martinus/robin-hood-hashing , and https://github.com/JacksonAllan/CC , respectively). Absl (from Google) and Boost are well-known C++ SIMD-based hash tables. Khash (…
comment by JacksonAllan · 2023-11-12 · in Hashmaps in Factor are faster than in Zig -
▲ 3
Convenient Containers: A usability-oriented generic container librarystory by sigsev_251 · 2023-07-30 · 0 comments
-
▲ 3
Better C Generics: The Extendible _Genericstory by JacksonAllan · 2023-01-28 · 0 comments