These are chat archives for brunchboy/afterglow

May 2017
James Elliott
May 17 2017 04:35
That kind of word alignment is strangely inefficient for a network protocol, I hadn’t noticed that. But alignment doesn’t really make a difference for modern languages, what we really need to know is the offset of the field. I use language-independent byte-field diagrams since I don’t want to make any assumptions about what people are implementing things with. For the next release of the document, though, I think I am going to change the indices in the margins to hex, that is a lot easier to read and do mental arithmetic with! I do mention that the integers are big-endian, and that’s the default network byte order. I’m about to push a couple changes to dysentery that start incorporating some of your discoveries. :sparkles: