r/C_Programming • • Jul 30 '26

Memory layout primitives

https://napcakes.nekoweb.org/posts/blayout/
40 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/8d8n4mbo28026ulk Aug 11 '26

Thanks! I'd do the same thing in practice, unless I only know n at runtime and don't have a reasonable upper-bound, in which case I'd use the primitives showed in the post. Cheers!

1

u/vitamin_CPP Aug 11 '26

btw did you post your segmented hash table article? It's been a great read.

1

u/8d8n4mbo28026ulk Aug 11 '26

If you mean whether I shared it here, yeah I did, but obviously it passed under the radar I think, haha. I'm happy you liked it!

2

u/vitamin_CPP Aug 12 '26

I must have missed it. In the summer, I'm not on Reddit a lot. :)