IPC in Rust
3tilley.github.io·6w

I wanted to explore different ways of communicating between different processes executing on the same machine, and doing so as fast as possible. We’re focussing on high speed inter-process communication (IPC), but some of these approaches can be extended across a network. We’ll do this exploration in Rust.

A reminder that since these are independent processes, most approaches you’d take within-process are unavailable to us. Rather than communicating between threads, or between asynchronous routines, these are techniques to shared data between different programs. They might not even both be written in Rust.

The code will mostly be snippets, but the full source is available here, with benchmark results at the end.

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help