digitalmars.D - [OT] Printf Oriented Message Protocol
- Paul Backus (8/14) Aug 13 of any number of typed arguments.
- Richard (Rikki) Andrew Cattermole (3/21) Aug 13 Aw shucks, it doesn't support IOCP. Guess its useless for me :(
https://github.com/Parrot-Developers/libpompThis library offers a simple protocol to encode/decode messages and exchangethem between processes on a socket (inet or local).A message is composed of a 32-bit id and a payload. The payload is composedof any number of typed arguments.The encoding/decoding is done with printf/scanf like functions with a formatstring 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.
Aug 13
On 14/08/2024 4:53 AM, Paul Backus wrote:https://github.com/Parrot-Developers/libpompAw shucks, it doesn't support IOCP. Guess its useless for me :( lolThis library offers a simple protocol to encode/decode messages and exchangethem between processes on a socket (inet or local).A message is composed of a 32-bit id and a payload. The payload is composedof any number of typed arguments.The encoding/decoding is done with printf/scanf like functions with a formatstring 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.
Aug 13