News for hackers. Stuff that matters.
Re:Cap'n Proto 1.0 by Timothycquinn on Friday July 28, 2023 @02:20PM (#36911016)
Congrats in 10 years! Question: Can Cap'n Proto be used as an alternative to Python Pickle library for serializing and de-serializing python object structures?
Re:Cap'n Proto 1.0 by kentonv on Friday July 28, 2023 @02:46PM (#36911388)
If your goal is to serialize an arbitrary Python object, Pickle is the way to go. Cap'n Proto requires you to define a schema, in Cap'n Proto schema language, for whatever you wan to serialize. It can't just take an arbitrary Python value.