Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Strong types in C (fastcompression.blogspot.com)
15 points by telendram on Jan 19, 2019 | hide | past | favorite | 3 comments


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)


never thought of using incomplete types to declare opaque types ! The rest of the blog is way over the top for me ...


I'm fine with "just" `struct as strong type` part ...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: