Re: Data Tunnel from C++ to Python

2009-02-26 Thread Richard Franks
On Jan 27, 7:57 pm, Alek Storm alek.st...@gmail.com wrote: That still sounds like a great candidate for embedding Python.  Why do you say you can't do it?  You can easily expose C++ message objects to Python code using Boost, or serialize the C++ object, pass the data over the C++/Python

Data Tunnel from C++ to Python

2009-01-27 Thread Topher Brown
I'm trying to move protobuf data from C++ to python. The current, inconvenient implementation saves the data to a file and then loads the file into python. I am currently experimenting with using sockets as data tunnels, but that is leading to its own problems. Does anyone have any suggestions

Re: Data Tunnel from C++ to Python

2009-01-27 Thread Alek Storm
I'd love to help, but I need more detail about exactly what each program does. Is the C++ the backend, while Python is the frontend? What are any inputs/outputs? Because right now I don't see any need to do inter-process communication, or have separate processes at all - it seems like one just

Re: Data Tunnel from C++ to Python

2009-01-27 Thread Alek Storm
On Jan 27, 1:17 pm, Topher Brown topher...@gmail.com wrote: I'm not writing a finished program- I'm trying to write a tool for our use while we are developing. We are working with large arrays (stored in protobuf) in C++ and want to plot them, using various python tools, while we are