rustyrussell/ccan
View on GitHub ↗ ★ 1,166 C
The C Code Archive Network
9 mentions on Hacker News by 7 people: 0 stories, 9 comments · first 2013-06-15 · latest 2025-07-01
20082026
-
…takes parameters backwards from what one might expect, with no types to catch mistakes! See https://github.com/rustyrussell/ccan/blob/master/ccan/list/_...
comment by RustyRussell · 2025-07-01 · in I write type-safe generic data structures in C -
…tracker which ran as a CGI script. It indeed allows a very simple style! Meanwhile, use ccan/tal ( https://github.com/rustyrussell/ccan/blob/master/ccan/tal/_i... ) and be happy :)
comment by RustyRussell · 2024-01-20 · in Memory leak proof every C program -
…GitHub repo [2] instead. [1] https://lists.ozlabs.org/pipermail/ccan/2022-September/00141... [2] https://github.com/rustyrussell/ccan/
comment by dcreager · 2023-02-12 · in My review of the C standard library in practice -
For more advanced intrusive lists in C, I've found that ccan's tlist2 ( https://github.com/rustyrussell/ccan/blob/master/ccan/tlist2... ) provides a decent model here. Compared to the linux kernel's intrusive lists, it also tracks the…
comment by codys · 2022-03-10 · in Toward a better list iterator for the Linux kernel -
…should code these functions. There's plenty of public domain libraries that do this correctly. https://github.com/rustyrussell/ccan/blob/master/ccan/endian...
comment by russdill · 2021-05-08 · in The Byte Order Fiasco -
See also ccan: https://github.com/rustyrussell/ccan
comment by smcameron · 2020-08-17 · in Best Package Manager for C -
…4. https://nullprogram.com/tags/c/ - great source of C knowledge 5. CCAN - https://github.com/rustyrussell/ccan/tree/master/ccan - great source of C tidbits from none other than Rusty Russell - I haven't read all of them 6. POSIX 201
comment by vineel567 · 2020-03-08 · in Ask HN: How do I learn C properly? -
…better taste than I! It's all statically generated via PHP (again, not my choice, but it works). https://github.com/rustyrussell/ccan/tree/master/web Thanks for the feedback!
comment by RustyRussell · 2013-10-27 · in CCAN - Comprehensive C Archive Network -
Along the same lines, there is also CCAN. http://ccodearchive.net/list.html https://github.com/rustyrussell/ccan And GMP for arbitrary precision math (integers and floating point numbers). http://gmplib.org/
comment by obiterdictum · 2013-06-15 · in Show HN: C library of generic, reference-counted data structures