It's quite simple in Golang.

Golang has a GC and that makes a lot of things easier.