Conf42: Golang 2021

...

Deserializing Python objects in Go with GoPickle

Marco Nicola
Software Developer @ EXOP

Marco Nicola's LinkedIn account Marco Nicola's twitter account


The Python Standard Library provides the “pickle” module for serializing and de-serializing object structures. Almost every Pythonista makes use of it, since it can easily and efficiently serialize even very complex objects… but what if you are a Gohper and want to read those objects back into Go?

In this talk I will illustrate the main peculiarities of pickle serialization and how data can be deserialized in Go with GoPickle, a lightweight and customizable library (https://github.com/nlpodyssey/gopickle).

I’ll also show you some examples of pickle serialization in the wild, and a practical usage of GoPickle with spaGO machine learning library.

Awesome conferences for

Priority access to all content

Community Discord

Exclusive promotions and giveaways