Contribute Media
A thank you to everyone who makes this possible: Read More

A Python and a Gopher walk into a bar - Embedding Python in Go


You often hear of projects porting between Python and Go. The tradeoffs between the two languages are well known, and the path is well documented with success stories on either end of the journey. But what if you want—or need—to use both languages in the same application?

Datadog’s Agent is written in Go, but has a requirement to support a large existing library of Python plugins developed in house and by our community. During the talk we will share the benefits of supporting both languages and lessons learned about how to combine them performantly. From battling cgo to dancing with the GIL as we maintained concurrency, learn from our experiences in combining multiple languages in a single application.

Improve this page