[OT] Printf Oriented Message Protocol
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Tue Aug 13 16:57:57 UTC 2024
On 14/08/2024 4:53 AM, Paul Backus wrote:
> 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.
Aw shucks, it doesn't support IOCP. Guess its useless for me :(
lol
More information about the Digitalmars-d
mailing list