Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Binder and D-Bus which should be what you reach for by default for IPC.

Well that’s silly. If the portable options can do it for you, use those.



Keep in mind that D-Bus is built on top of Unix sockets so it's just as portable. For IPC I don't think trying to be portable is such a good thing. I think it's nice to do IPC properly for each platform you are targeting.

What I personally find silly is every service rolling there own protocol making it harder for clients to use existing libraries to talk to them and making more work for themselves to get to a quality IPC solution. It usually just ends up in getting something half baked.


> I think it's nice to do IPC properly for each platform you are targeting.

There’s nothing inherently “proper” to using platform specific options, but perhaps that’s not even the issue here. It’s a beginner tutorial. A “concise overview of various IPC techniques” with examples that “should compile anywhere a good Unix compiler is available.” What you’re talking about isn’t part of the mission.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: