rurban/ctl
View on GitHub ↗ ★ 291 C
My variant of the C Template Library
12 mentions on Hacker News by 4 people: 1 story, 11 comments · first 2020-12-31 · latest 2023-07-04
20082026
-
Well, I do like mine better, which is closer to the STL, and for all containers. https://github.com/rurban/ctl/
comment by rurban · 2023-07-04 · in A header-only C implementation of C++ <algorithm> -
…than this one (clisp, perl5 e.g.). For better ones I would point to my linked list implementation: https://github.com/rurban/ctl/blob/master/ctl/unordered_set.... (because it has various security policies, nobody else has) or…
comment by rurban · 2023-06-14 · in A simple hash table in C -
mine is better :) https://github.com/rurban/ctl/
comment by rurban · 2022-03-26 · in Uthash – C macros for hash tables and more -
https://github.com/rurban/ctl#differences
comment by gary_0 · 2022-02-05 · in Ctl: STL in C -
There's also a CTL fork that might be of interest: https://github.com/rurban/ctl
comment by cygx · 2021-04-23 · in Beej’s Guide to C Programming [pdf] -
…foot and had to keep it there. Rust has an annoying syntax, but a much better library culture. https://github.com/rurban/ctl
comment by rurban · 2021-04-09 · in Type-safe generic data structures in C -
…and -Ofast all fail too build. Splitting it up didn't help. So far I went with #pragma optimize O1. https://github.com/rurban/ctl/actions/workflows/master.yml C++ templates are the worst. The pure C variant builds in seconds. I pity all…
comment by rurban · 2021-03-24 · in Crazy fast build times, or when 10 seconds starts to make you nervous (2012) -
Similar to mine https://github.com/rurban/ctl But mine are very close to the STL with generic iterators/ranges and algorithms over containers.
comment by rurban · 2021-02-13 · in Common libraries and data structures for C -
…easier to use. I recently even added formal verification to my CTL library variant, the STL for C. https://github.com/rurban/ctl/commit/cc65e82ba1fdafcf9c83697... cbmc found some huge bugs the testsuites were not able to find. KLEE has…
comment by rurban · 2021-02-03 · in Refactoring the FreeBSD Kernel with Checked C [pdf] -
Yet another glib, a STL for C, which is header-only, complete, tiny and sucks much less. https://github.com/rurban/ctl
comment by rurban · 2021-01-14 · in Ask HN: What are you working on? -
I didn't like the names at all, and also it shouldn't be in the main namespace, but under ctl/ https://github.com/rurban/ctl In work are map, forward_list, unordered_set, and utf-8 support for strings and identifiers, with its stricter…
comment by rurban · 2020-12-31 · in C Template Library