News for hackers. Stuff that matters.
Re:Show HN: Comprehensive inter-process communication (IPC) ... by abcd_f on Sunday April 14, 2024 @11:51AM (#40031998)
There's no reason to use (the very ancient) SHM API over mmap, not today.

You can literally do everything with mmap that you can do with shm, without hitting OS caps, no performance penalty and with a code that's simpler.

Re:Show HN: Comprehensive inter-process communication (IPC) ... by monocasa on Sunday April 14, 2024 @01:44PM (#40032853)
Well except the sharing memory part. Linux added memfds but macos doesn't have that.

I imagine on macos you'd have to use the mach APIs if you're avoiding shm.