Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pjc50
12 days ago
|
parent
|
context
|
favorite
| on:
Nobody ever got fired for using a struct
Sure, if your structure doesn't contain any pointers and you only ever want to support one endianness and you trust your compiler to fix the machine layout of the struct forever.
help
zadikian
12 days ago
|
next
[–]
Mainly the first thing. If your struct is already serial, of course serialization will be easy.
reply
userbinator
12 days ago
|
prev
[–]
...which is true for 99.999% of the time anyway, so it's not worth worrying about.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: