4 ms·
What would be the reason to even use hand-rolled protocol instead of something commonly used, such as JSON or protobuf, which have properly tested C libraries w
by watermelon0 5y ago
What would be the reason to even use hand-rolled protocol instead of something commonly used, such as JSON or protobuf, which have properly tested C libraries with decent security record?
I assume performance is not a problem, since it's only exchanging a small amount of data, so maybe they were aiming for the fact that less code means smaller attack surface?
- nicoburns 5y ago> What would be the reason to even use hand-rolled protocol instead of something commonly used, such as JSON or protobuf, which have properly tested C libraries with decent security record? Welcome to C culture, where external libraries are to be avoided at all costs.