2 ms·
You don't want to rearrange structs on every system call. That would be slow.
by ori_b 11y ago
You don't want to rearrange structs on every system call. That would be slow.
- tedunangst 11y agoI think the idea is you would use the "FFI" type throughout the program, perhaps embedded in a larger structure if you need to track additional data. The same thing is frequently done in C. Wire format data gets padded and __packed as necessary, and then that's usually the program representation as well.