Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
uecker
19 days ago
|
parent
|
context
|
favorite
| on:
To save C, we must save ABI (2022)
Yes, using an arbitrary type that is different from the one of the object is UB. But any access of a representation byte using a character pointer is well defined, not just memcpy and I would also not call memcpy useless.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: