@ska @ariadne OK, I did not expect to read that today: that sd_notify() is "over-engineered" and "bloated".
It's *literally* a frickin env-var-like text string in a datagram to an AF_UNIX socket whose path is passed in an env var.
I mean, I can explain the protocol this in a single (one!) sentence.
If that's "bloated", then I think you are smoking some really really really good dope, man. No shame in that, but maybe don't comment on the Internet when you do ;-)