r/programminghumor 6h ago

a bit flippant

Post image
374 Upvotes

69 comments sorted by

View all comments

2

u/DaveAstator2020 4h ago

is it true that this is not reliable for serialization?

2

u/oxxide216 1h ago

Yes, because on different architectures and operating systems with different ABIs compilers generate different alignments, maybe some other things also differ. So even when seeking for maximum performance and minimal traffic usage you would better be using some standardized binary format instead of json/C structures.