A Cross-Language Shared Memory IPC Demo for C++ and Python
This project demonstrates efficient data communication between C++ and Python using shared memory, providing a lightweight and high-performance solution for real-time inter-process communication (IPC).
- Real-time sensor data streaming (e.g., cameras, LiDAR)
- Integrating C++ performance-critical modules with Python ML/scripting layers.
-
Clone the repository:
git clone https://github.com/your_username/CppPythonShmDemo.git
-
Build and run C++ component:
cd shm_demo_cpp && mkdir build && cd build && cmake .. && make ./shm_demo_cpp
-
Install Python requirements and run:
cd shm_demo_python pip install -r requirements.txt python main.py