[OT] Printf Oriented Message Protocol

Paul Backus snarwin at gmail.com
Tue Aug 13 16:53:30 UTC 2024


https://github.com/Parrot-Developers/libpomp

> This library offers a simple protocol to encode/decode messages 
> and exchange
them between processes on a socket (inet or local).
>
> A message is composed of a 32-bit id and a payload. The payload 
> is composed
of any number of typed arguments.
>
> 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.

Since D aims to be the premier language for printf-oriented 
programming, perhaps this is worth keeping an eye on.


More information about the Digitalmars-d mailing list