התחל במצב לא מקוון עם האפליקציה Player FM !
פודקאסטים ששווה להאזין
בחסות


defer GoTime()
Manage episode 326454913 series 3341962
Mat, Carmen, and Jon are joined by Dan Scales to talk about Mat’s favorite keyword in Go - defer. Where did the defer statement come from? What problems can it solve? How has it shaped how we write Go code? How are other languages solving similar problems? And what exactly was changed in Go 1.14 to improve the performance of defer?
Changelog++ members support our work, get closer to the metal, and make the ads disappear. Join today!
Sponsors:
- DigitalOcean – The simplest cloud platform for developers and teams Whether you’re running one virtual machine or ten thousand, makes managing your infrastructure too easy. Get started for free with a $50 credit. Learn more at do.co/changelog.
- GoCD + Kubernetes – With GoCD running on Kubernetes, you define your build workflow and let GoCD provision and scale build infrastructure on the fly. GoCD installs as a Kubernetes native application. Scale your build infrastructure elastically. Learn more at gocd.org/kubernetes
- Brain Science – For the curious! Brain Science is our new podcast exploring the inner-workings of the human brain to understand behavior change, habit formation, mental health, and being human. It’s Brain Science applied — not just how does the brain work, but how do we apply what we know about the brain to transform our lives.
Featuring:
- Dan Scales – LinkedIn
- Mat Ryer – Website, GitHub, LinkedIn, X
- Carmen Andoh – GitHub, X
- Jon Calhoun – Website, GitHub, X
Show Notes:
- RAII - the C++ like equivalent to Go’s defer
- Go’s recover builtin
- Compiler changes for lighter defers in 1.14
- Complete defer changeset
- Builders
Something missing or broken? PRs welcome!
347 פרקים
Manage episode 326454913 series 3341962
Mat, Carmen, and Jon are joined by Dan Scales to talk about Mat’s favorite keyword in Go - defer. Where did the defer statement come from? What problems can it solve? How has it shaped how we write Go code? How are other languages solving similar problems? And what exactly was changed in Go 1.14 to improve the performance of defer?
Changelog++ members support our work, get closer to the metal, and make the ads disappear. Join today!
Sponsors:
- DigitalOcean – The simplest cloud platform for developers and teams Whether you’re running one virtual machine or ten thousand, makes managing your infrastructure too easy. Get started for free with a $50 credit. Learn more at do.co/changelog.
- GoCD + Kubernetes – With GoCD running on Kubernetes, you define your build workflow and let GoCD provision and scale build infrastructure on the fly. GoCD installs as a Kubernetes native application. Scale your build infrastructure elastically. Learn more at gocd.org/kubernetes
- Brain Science – For the curious! Brain Science is our new podcast exploring the inner-workings of the human brain to understand behavior change, habit formation, mental health, and being human. It’s Brain Science applied — not just how does the brain work, but how do we apply what we know about the brain to transform our lives.
Featuring:
- Dan Scales – LinkedIn
- Mat Ryer – Website, GitHub, LinkedIn, X
- Carmen Andoh – GitHub, X
- Jon Calhoun – Website, GitHub, X
Show Notes:
- RAII - the C++ like equivalent to Go’s defer
- Go’s recover builtin
- Compiler changes for lighter defers in 1.14
- Complete defer changeset
- Builders
Something missing or broken? PRs welcome!
347 פרקים
כל הפרקים
×
1 Crawl, walk & run your way to usable CLIs in Go 57:47

1 Russ Cox on passing the torch 1:09:27

1 "Founder Mode" at work when you're not a founder 56:20

1 How I lost my (old) job to AI 1:18:24


1 Aha moments reading Go's source: Part 2 48:24

1 Aha moments reading Go's source: Part 1 46:36

1 How Mat writes HTTP services in Go 1:11:07

1 Dependencies are dangerous 1:03:37

1 Gophers Say! GopherCon EU Berlin 2024 41:00

1 Is Go evolving in the wrong direction? 1:13:49

1 How things get done on the Go Team 1:03:12

1 Your ultimate guide to mastering Go 1:02:53


1 What if Google lays off the Go team? 1:12:46


1 What's new in Go's cryptography libraries: Part 3 1:07:59

1 Local cert management for mere mortals 47:46

ברוכים הבאים אל Player FM!
Player FM סורק את האינטרנט עבור פודקאסטים באיכות גבוהה בשבילכם כדי שתהנו מהם כרגע. זה יישום הפודקאסט הטוב ביותר והוא עובד על אנדרואיד, iPhone ואינטרנט. הירשמו לסנכרון מנויים במכשירים שונים.