Re:Show HN: Comprehensive inter-process communication (IPC) ...
by rurban on Sunday April 14, 2024 @11:16AM
(#40031706)
I wrote some shm API wrappers here: https://github.com/rurban/smart/blob/new/source/algos/includ...
Never use /dev/shm directly unless Linux only.
https://github.com/Flow-IPC/ipc/issues/101 (<= https://github.com/orgs/Flow-IPC/discussions/98)
For macOS/ARM64, currently it looks to me like the apparent lack of /dev/shm equivalent (unless I messed up in searching for it) means the most significant amount of new work necessary to port it ... but you just mentioned a thing I did not know about. (SHM size/count limits definitely were a thing in Linux, though, indeed.) TY