# Writing memory efficient C structs

**URL:** <https://forum.devtalk.com/t/writing-memory-efficient-c-structs/208838>\
**Category:** In The News\
**Tags:** via-news-bot, writing, in-the-news\
**Created:** [30 July 2025 17:41 UTC](https://forum.devtalk.com/t/writing-memory-efficient-c-structs/208838 "2025-07-30T17:41:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CommunityNews](https://forum.devtalk.com/user_avatar/forum.devtalk.com/communitynews/32/1113_2.png) [@CommunityNews](https://forum.devtalk.com/u/CommunityNews)\
**Post date:** [30 July 2025 17:41 UTC](https://forum.devtalk.com/t/writing-memory-efficient-c-structs/208838/1 "2025-07-30T17:41:44Z")

</div>

> A struct in C is the best way to organize your data so that you can easily use the data later in your program. However, there are a few caveats to C structures, mainly how their memory works.

Read in full here:

> **[Writing memory efficient C structs](https://tomscheers.github.io/2025/07/29/writing-memory-efficient-structs-post.html)**
>
> A struct in C is the best way to organize your data so that you can easily use the data later in your program. However, there are a few caveats to C structures, mainly how their memory works. Note that I’m making a lot of assumptions about type sizes...
