Pickle for C++?

Paul Prescod paul at prescod.net
Wed Jun 28 17:19:34 EDT 2000


> I have a Python class that holds a lot of data.
> And I now want to send these datas over a TCP - connection via
> pickle and sockets. It works fine. But now I want
> that an application written in C++ is able to unpickle the data-class
> too and write it's content into an equivalent C++ - class/struct.

XML-RPC, SOAP and CORBA are designed specifically for these situations.
Throughput will not be as good (especially with the first two!) as with
Pickle.

Also consider "repr" rather than pickle. Again, throughput is not as
good but parsing is much easier.

-- 
 Paul Prescod - Not encumbered by corporate consensus
The calculus and the rich body of mathematical analysis to which it 
gave rise made modern science possible, but it was the algorithm that 
made the modern world possible.
	- The Advent of the Algorithm (pending), by David Berlinski




More information about the Python-list mailing list