All Talks

Shattered Mirror: An Introduction to Reflect and Unsafe

Go gives developers compile-time safety through its type system, and flexibility through interfaces. Sometimes, interfaces just aren’t flexible enough. Sometimes, you just want to write some code that isn’t safe at all. James talks about the outlaw packages of Go: reflect and unsafe. You’ll learn just enough about Go’s type system to understand how reflect and unsafe subvert it. Finally, he shows practical examples of using reflect, and some impractical examples of using unsafe.

About the …

You might be interested in:

March 2019 Backend
Semaphores Semaphores

Semaphores

Valentin Deleplace - Google

May 2019 Backend
Optimizing Go code without a blindfold Optimizing Go code without a blindfold

Optimizing Go code without a blindfold

Daniel Martí, Brankas (@mvdan_)