Exchanging text makes the format easier to debug and accessible to humans, which can be a purpose in itself.
Exchanging text makes the format easier to debug and accessible to humans, which can be a purpose in itself.
Human accessibility is an absolute must for any modern format.
[1] https://github.com/kstenerud/concise-encoding/blob/master/cb...
[2] https://github.com/kstenerud/concise-encoding/blob/master/ct...
The implementations are almost done now, and my first tool will be a command line utility that reads one format and spits out the other, so that you can take a binary dump from your production system using tcpdump or wireshark or whatever, and then convert it to a human readable format to see what's going on. I'll probably even put in a hex-reader so that you can log the raw message and then read it back:
2019-10-02:15:00:32: Received message [01 76 85 6e 75 6b 65 73 88 6c 61 75 6e 64 68 65 64 79]
$ ceconv --hex 01 76 85 6e 75 6b 65 73 88 6c 61 75 6e 64 68 65 64 79
v1
{
nukes = launched
}The project still seems cool, I'll have to have a deeper look into it soon