Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s binary and there’s no code generating step like with Protobuf. Protobuf is hugely complicated, I can see using this for IPC between processes I own. I’m not sure what you mean about tokenization, but printf format strings are pretty well understood.


I read the page and missed the part where it’s binary. I had to read it a second time to find that information.

The reason why I missed it the first time is because this information is introduced in the second half of a paragraph, where the first half is about a different topic. This is a bad way to divide paragraphs.


The paragraph:

> The encoding/decoding is done with printf/scanf like functions with a format string and a variable number of arguments. However, no actual string formatting is done, the payload is a binary representation of arguments.

Seems to encapsulate the complexity of having a string formatting interface to a binary protocol reasonably clearly, but is not crafted to withstand speed reading or skipping over sentences.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: