qmetrics.net

Cpp IPC

Shared-memory inter-process communication for C++

C++ library for high-performance IPC on Linux, Windows, and FreeBSD using shared memory. It relies on lock-free or spin-lock structures and STL only.

Overview

Cpp IPC (libipc) is a C++ inter-process communication library built around shared memory. It targets Linux, Windows, and FreeBSD on common CPU architectures and expects a C++17-capable toolchain.

The implementation uses a circular array under the hood, lock-free or lightweight spin locks, and avoids dependencies beyond the standard library. Two primitives are offered: ipc::route for single-writer multi-reader channels and ipc::channel for multi-writer multi-reader use, with broadcasting as the default mode and configurable read/write combinations.

Waiting behavior avoids long blind spins: after a bounded number of retries, synchronization falls back to semaphores, with timeout support. Channel receivers are currently capped at 32 per channel while senders are not similarly limited.

Usage details and performance benchmarks are documented separately; the authors publish unit and benchmark tests plus measured throughput data from reference hardware.

Key features

  • Shared-memory IPC
  • Lock-free or spin-lock paths
  • Single- and multi-writer channels
  • Broadcast by default
  • Semaphore fallback with timeouts
  • STL-only dependencies
  • C++17-oriented build
  • Cross-platform Linux/Windows/FreeBSD

Use cases

  • Low-latency process messaging
  • Multi-reader telemetry fan-out
  • Cross-process data pipelines
  • Windows and Linux desktop IPC
  • Embedded-style worker coordination

Tags

Similar software

FreeDomain

Free domain registration with DNS learning resources

DigitalPlat FreeDomain lets people register free domains under several extensions, point custom nameservers at a DNS provider, and follow guides from setup through deployment.

★ 209.4k⟳ 3 months agoAGPL-3.0

Clash Verge Rev

Cross-platform Tauri desktop GUI for Clash Meta proxying

Clash Verge Rev is a desktop GUI for the Clash Meta proxy kernel on Windows, macOS, and Linux. It offers profile management, system proxy modes, and keeps configuration on your device.

★ 161.1k⟳ yesterdayGPL-3.0

v2rayN

Desktop GUI client for proxy cores

v2rayN is a graphical client for Windows, Linux, and macOS that works with Xray, sing-box, and related proxy stacks. Prebuilt packages ship for common CPU architectures.

★ 121.6k⟳ yesterdayGPL-3.0

frp

Self-deployed reverse proxy for NAT and firewall bypass

frp pairs a public-facing frps server with frpc clients to expose TCP, UDP, HTTP, and HTTPS services behind NAT or firewalls, including P2P connect mode.

★ 110.8k⟳ 18 days agoApache-2.0

Caddy

Extensible server platform with automatic TLS

Caddy is an extensible server platform that enables HTTPS by default. It is often used as an HTTPS and HTTP server with a modular Go-based architecture.

★ 79.6k⟳ 4 days agoApache-2.0

Traefik Labs

Dynamic HTTP reverse proxy and load balancer for microservices

Traefik routes HTTP traffic to microservices and balances load across backends. It watches orchestrators and registries to update routes without manual restarts.

★ 65.8k⟳ 3 days agoMIT