go defer / Eldad Marciano

go defer / Eldad Marciano

As you may know golang is a GC lang. many times we write a peace of code, but we may forgot to defer some objects. memory leaks, over allocations, guess what we may defer some objects. in this talk i’m going dive into some edge cases that might cause to bad performance and even memory leaks

Many times we are not deferring an resources while coding applications. this is very important to use modules that has good defering, also it’s tricky where we’re going to place the defer statement.
Lets drill down into few examples, bad and good principals. stay tuned

C1508d6ff2ed86b2b4fedef9a3fe558f?s=128

GopherCon Israel

February 11, 2019
Tweet