Online / 6 & 7 February 2021


Calling Python from Go In Memory

Using 0 Serialization and ε Memory

In this talk we'll see how we can call Python function from Go "in memory" and with close to none serialization.

Like tools, programming languages tend to solve problems they are designed to. You can use a knife to tighten a screw, but it’s better to use a screwdriver. Plus there is less chance of you getting hurt in the process.

The Go programming language shines when writing high throughput services, and Python shines when used for data science. In this talk we'll explore a way to call Python/numpy code from Go in memory using some cgo glue. This approach is fast and risky, use at your own risk.


Photo of Miki Tebeka Miki Tebeka