Python C++ shared data

Hy all ,

I’m in learning with python and my custom controller ,

is it possible to transfer value between python and C++ in real time in this case using memory not socket ,
so python can get the sensor data accuratelly