~/talk

Embedding Python in Go

Talkat dotGo 2017 · on Monday, 2017-11-06· [go, python]
slides:none on file

Datadog ports its Agent to Go while keeping plugins in Python and builds a Go app that embeds CPython via cgo, proving it works but accumulating nasty runtime failures unless careful. The concrete claims: use cgo, turn off CPython autopilot, manage the GIL manually, and acquire/release it around Python calls. Practical fixes include preventing goroutine migration with runtime.LockOSThread and accepting that embedding Python in Go exposes hard, reproducible threading and GIL pitfalls.

AI-written summary · about

  1. 0:00Intro
  2. 0:53What is the Guild
  3. 1:35Parallel Lines
  4. 2:02TSA Agent
  5. 3:55Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.