Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Strong types in C
(opens in new tab)
(fastcompression.blogspot.com)
15 points
telendram
7y ago
3 comments
Save
Share
3 comments
3 comments · 1 top-level
top
newest
oldest
corresponding
7y ago
· 2 in thread
The way he uses an intermediate type to store an opaque type in the stack is pretty nifty. Never thought of that one before (nor the risks of strict aliasing, that part is still pretty nebulous)
ashbin_seler
7y ago
never thought of using incomplete types to declare opaque types ! The rest of the blog is way over the top for me ...
telendram
OP
7y ago
I'm fine with "just" `struct as strong type` part ...
j
/
k
navigate · click thread line to collapse