←back to thread

288 points tosh | 1 comments | | HN request time: 0.208s | source
Show context
IX-103 ◴[] No.42069768[source]
Chromium already has a zero-copy IPC mechanism that uses shared memory built-in. It's called Mojo. That's how the various browser processes talk to each other. They could just have passed mojo::BigBuffer messages to their custom.process and not had to worry about platform-specific code.

But writing a custom ring buffer implementation is also nice, I suppose...

replies(1): >>42072858 #
1. doctorpangloss ◴[] No.42072858[source]
The best way to find out something valuable is to be wrong on the Internet. Next time, bill them $10k for this secret!