Pickle for C++?

Courageous jkraska1 at san.rr.com
Wed Jun 28 13:02:25 EDT 2000


> > Is there any solution out there or have I to write my own C++ - pickle
> > algorithm?
> 
> Embed Python into your C++ application, and don't bother trying to tie a
> static language to a dynamic one by making a set of fixed C strucutres.
> Believe me it's a waste of time.
> 
> You can embed the Python DLL or shared library into your C++ application in
> a matter of minutes, and then unpacking your data will be a single line call
> to a Python function that will unpack your structure and a simple set of
> functions to get and set the data in your python objects.

This is good advice, but I think the question remains outstanding
for those individuals in situations where, for whatever reason, doing
what you recommend really isn't appropriate.

Perhaps he should take a look at ILU, methinks.




C/



More information about the Python-list mailing list