Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sp332
on Aug 1, 2021
|
parent
|
context
|
favorite
| on:
Learning that you can use unions in C for grouping...
The Linux kernel is using this for bounds checking.
https://news.ycombinator.com/item?id=28015263
ufo
on Aug 1, 2021
[–]
Like the parent poster, when I read the article I assumed that there was no conceivable reason to ever use this feature in a real C program. Let me just say that I'm pleasantly surprised to be proven wrong!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: