>>1015747
>-You have to invent a serialization format. Or pick an existing piece of shit like JSON, which means you have to grab a JSON library, but they're all shit so you grab some special snowflake library and every single package on your system has a different JSON library, and they're all subtly incompatible with each other.
Or just use a language like TCL where serialization is given. Even in C, it's not hard to use htobe32 and co while sending strings prefixed by their length or just find a suitable end marker (you have ASCII US and RS for that). You're really making it look complicated when it's not.
>-You have to make up a formal rules for your protocol
How is that hard?
>-You have to name it even though it's not worth making a name for, and this name has to avoid collisions in a global namespace which you have no control over.
You don't, actually. Just pass /tmp/mysoft.XXXXXX to mktempd and put your socket in it (yeah, too bad there's not a mktemp for every file type).
>-You're subject to all kinds of retarded nuances due to UNIX braindamage, like race conditions
How is that limited to UNIX?
>permissions
How is that "braindamage"?
>whether you flush data to the file correctly (depends on what type of file).
Your only good point.
>All this to get the current track playing and a playlist and position within that list so then you can continue on to display it in your retarded UNIX+OOP GUI framework.
The point of this is that you can avoid the retarded GUI framework and just let it play in the background, unlike your traditional bloated GUI that serves no purpose. In fact, you don't need a GUI nor a TUI for playing music.
1/10, the original UNIX Hater retard is more entertaining, git gud.