|
|
|
|
|
by jackmott
3573 days ago
|
|
>data structures already have to sit in memory looking a certain way, why can't we just squirt that on the wire instead of some fancy bespoke type-length-value struct? In C/C++ ya can!
When making games in college that is exactly what we did. Take the struct, dump it into the socket. I was rather shocked when trying to recreate the same system in C#. "I can't? I CAN'T?" |
|
Use C if that's not what you want. Don't hammer with a screwdriver.