
danielchasehooper.com/posts/typechecked-generic-c-data-structures
Preview meta tags from the danielchasehooper.com website.
Linked Hostnames
9- 5 links todanielchasehooper.com
- 1 link tobsky.app
- 1 link toen.wikipedia.org
- 1 link togithub.com
- 1 link tomastodon.gamedev.place
- 1 link towww.open-std.org
- 1 link towww.rfleury.com
- 1 link towww.youtube.com
Thumbnail

Search Engine Appearance
Type Safe Generic Data Structures in C
I write type safe generic data structures in C using a technique that I haven’t seen elsewhere1. It uses unions to associate type information with a generic data structure, but we’ll get to that. My approach works for any type of data structure: maps, arrays, binary trees… but for this article I illustrate the ideas by implementing a basic linked list. Since many people aren’t aware you can do C generics at all, I figured I’d start simple and build up to this:
Bing
Type Safe Generic Data Structures in C
I write type safe generic data structures in C using a technique that I haven’t seen elsewhere1. It uses unions to associate type information with a generic data structure, but we’ll get to that. My approach works for any type of data structure: maps, arrays, binary trees… but for this article I illustrate the ideas by implementing a basic linked list. Since many people aren’t aware you can do C generics at all, I figured I’d start simple and build up to this:
DuckDuckGo

Type Safe Generic Data Structures in C
I write type safe generic data structures in C using a technique that I haven’t seen elsewhere1. It uses unions to associate type information with a generic data structure, but we’ll get to that. My approach works for any type of data structure: maps, arrays, binary trees… but for this article I illustrate the ideas by implementing a basic linked list. Since many people aren’t aware you can do C generics at all, I figured I’d start simple and build up to this:
General Meta Tags
11- titleType Safe Generic Data Structures in C ・ Daniel Hooper
- titleX.com
- titleBluesky
- titleMastodon
- titleRSS
Open Graph Meta Tags
5- og:titleType Safe Generic Data Structures in C
- og:descriptionI write type safe generic data structures in C using a technique that I haven’t seen elsewhere1. It uses unions to associate type information with a generic data structure, but we’ll get to that. My approach works for any type of data structure: maps, arrays, binary trees… but for this article I illustrate the ideas by implementing a basic linked list. Since many people aren’t aware you can do C generics at all, I figured I’d start simple and build up to this:
- og:typearticle
- og:urlhttps://danielchasehooper.com/posts/typechecked-generic-c-data-structures/
- og:imagehttps://danielchasehooper.com/images/ogimage.png
Twitter Meta Tags
5- twitter:cardsummary_large_image
- twitter:imagehttps://danielchasehooper.com/images/ogimage.png
- twitter:titleType Safe Generic Data Structures in C
- twitter:descriptionI write type safe generic data structures in C using a technique that I haven’t seen elsewhere1. It uses unions to associate type information with a generic data structure, but we’ll get to that. My approach works for any type of data structure: maps, arrays, binary trees… but for this article I illustrate the ideas by implementing a basic linked list. Since many people aren’t aware you can do C generics at all, I figured I’d start simple and build up to this:
- twitter:site@danielchooper
Item Prop Meta Tags
7- nameType Safe Generic Data Structures in C
- descriptionI write type safe generic data structures in C using a technique that I haven’t seen elsewhere1. It uses unions to associate type information with a generic data structure, but we’ll get to that. My approach works for any type of data structure: maps, arrays, binary trees… but for this article I illustrate the ideas by implementing a basic linked list. Since many people aren’t aware you can do C generics at all, I figured I’d start simple and build up to this:
- datePublished2025-06-25T00:00:00+00:00
- dateModified2025-06-25T00:00:00+00:00
- wordCount1605
Link Tags
4- alternatehttps://danielchasehooper.com/feed.xml
- iconhttps://danielchasehooper.com/images/avatar2.jpg
- stylesheet/css/bootstrap.min.css
- stylesheet/css/common.min.b9cee6fd9a7a3c29612477543cb7e89bdcbb2ffa610a1a968e419aae47904296.css
Links
13- https://bsky.app/profile/danielchooper.bsky.social
- https://danielchasehooper.com
- https://danielchasehooper.com/#projects
- https://danielchasehooper.com/about
- https://danielchasehooper.com/feed.xml