Skip to content

Latest commit

 

History

History
176 lines (132 loc) · 8.48 KB

File metadata and controls

176 lines (132 loc) · 8.48 KB

Inter-Process Communication

Wikipedia

Approaches:

IPC-Bench: 🐎 Benchmarks for Inter-Process-Communication Techniques

Memory-mapped files

Shared memory

C/C++:

Rust:

  • shmem-ipc

No messages:

Applications:

  • Sensor data

    很多传感器的驱动是 C++ 写的,对 C++ 的支持比较重要。

Pipes

Rust:

Unix domain sockets

Wikipedia

Windows starts to support Unix domain sockets from Windows 17063, released on 2018-04-10. See AF_UNIX comes to Windows - Windows Command Line for details.

Message queues

Differences between nanomsg and ZeroMQ

Languages

Rust