uecker/noplate
View on GitHub ↗ ★ 54 C archived
generic data structures
9 mentions on Hacker News by 2 people: 0 stories, 9 comments · first 2022-12-23 · latest 2025-07-26
20082026
-
Yes! I try do this here (this code is not tested and may not be up-to-date): https://github.com/uecker/noplate/blob/main/src/vec.h#L30 The issue with the boundary is what I meant with hysteresis in the article.
comment by uecker · 2025-07-26 · in Generic Containers in C: Vec -
It is cool trick. I already use in my experimental library though ;-) https://github.com/uecker/noplate/blob/main/src/list.h
comment by uecker · 2025-06-30 · in I write type-safe generic data structures in C -
Here is my experimental library for generic types with some godbolt links to try: https://github.com/uecker/noplate
comment by uecker · 2025-06-27 · in Parameterized types in C using the new tag compatibility rule -
Here is my attempt at strings in C (and other stuff). https://github.com/uecker/noplate (attention: this is experimental and incomplete for trying ideas and is subject to change.)
comment by uecker · 2024-07-15 · in I'm not a fan of strlcpy(3) -
…CONCAT(struct Foo *) would produce struct_Foo_Ptr? The result is guaranteed token paste-able. [1] https://github.com/uecker/noplate
comment by hgs3 · 2024-01-18 · in Polymorphic Types in C [pdf] -
You may be interested in this: https://github.com/uecker/noplate.git
comment by uecker · 2023-06-02 · in Neverflow: C macros that guard against buffer overflows -
See also here for my experiments, but it relies on UBSan for bounds checking: https://github.com/uecker/noplate.git
comment by uecker · 2023-06-02 · in Neverflow: C macros that guard against buffer overflows -
I am exploring way on how to implement this in C (with some extensions) as a library: https://github.com/uecker/noplate Certainly not production ready.
comment by uecker · 2023-05-04 · in New C features in GCC 13