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


When Go programs end
Manage episode 326454857 series 3341962
Michael Knyszek from the Go team joins us to talk about what happens when a program ends. How are file handles cleaned up? When are deferred functions run, and when are they skipped entirely? Is there a way to terminate all running goroutines? Tune in to learn the answers to these questions and more!
Changelog++ members save 4 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
- Teleport – Quickly access any resource anywhere using a Unified Access Plane that consolidates access controls and auditing across all environments - infrastructure, applications, and data. Try Teleport today in the cloud, self-hosted, or open source at goteleport.com
- LaunchDarkly – Test in production! Deploy code at any time, even if a feature isn’t ready to be released to your users. Wrap code in feature flags to get the safety to test new features and infrastructure in prod without impacting the wrong end users.
- Equinix Metal – Globally interconnected fully automated bare metal. Equinix Metal gives you hardware at your fingertips with physical infrastructure at software speed. This is the promise of the cloud delivered on Bare Metal. Get $500 in free credit to play with plus a rad t-shirt at info.equinixmetal.com/changelog.
Featuring:
- Michael Knyszek – Website, GitHub, Mastodon, X
- Mat Ryer – Website, GitHub, LinkedIn, X
- Jon Calhoun – Website, GitHub, X
Show Notes:
- Make Ctrl+C Cancel the context.Context - An article by Mat Ryer discussing how to capture
ctrl+c
and cancel a context. - NotifyContext proposal - Our very own Mark Bates made the proposal for NotifyContext!
- NotifyContext - docs for the
NotifyContext
functionality added in Go - 12 Factor
- Graceful shutdown in Go http server - an article discussing grateful shutdowns with Go HTTP servers.
- kill linux man page -
kill
is a linux command mentioned on the show - os/signal - docs for the
os/signal
package in Go.
Something missing or broken? PRs welcome!
347 פרקים
Manage episode 326454857 series 3341962
Michael Knyszek from the Go team joins us to talk about what happens when a program ends. How are file handles cleaned up? When are deferred functions run, and when are they skipped entirely? Is there a way to terminate all running goroutines? Tune in to learn the answers to these questions and more!
Changelog++ members save 4 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
- Teleport – Quickly access any resource anywhere using a Unified Access Plane that consolidates access controls and auditing across all environments - infrastructure, applications, and data. Try Teleport today in the cloud, self-hosted, or open source at goteleport.com
- LaunchDarkly – Test in production! Deploy code at any time, even if a feature isn’t ready to be released to your users. Wrap code in feature flags to get the safety to test new features and infrastructure in prod without impacting the wrong end users.
- Equinix Metal – Globally interconnected fully automated bare metal. Equinix Metal gives you hardware at your fingertips with physical infrastructure at software speed. This is the promise of the cloud delivered on Bare Metal. Get $500 in free credit to play with plus a rad t-shirt at info.equinixmetal.com/changelog.
Featuring:
- Michael Knyszek – Website, GitHub, Mastodon, X
- Mat Ryer – Website, GitHub, LinkedIn, X
- Jon Calhoun – Website, GitHub, X
Show Notes:
- Make Ctrl+C Cancel the context.Context - An article by Mat Ryer discussing how to capture
ctrl+c
and cancel a context. - NotifyContext proposal - Our very own Mark Bates made the proposal for NotifyContext!
- NotifyContext - docs for the
NotifyContext
functionality added in Go - 12 Factor
- Graceful shutdown in Go http server - an article discussing grateful shutdowns with Go HTTP servers.
- kill linux man page -
kill
is a linux command mentioned on the show - os/signal - docs for the
os/signal
package in Go.
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




1 Questions from a new Go developer 1:09:45

1 Jumping into an existing codebase 1:27:19

1 How long until I lose my job to AI? 1:16:18

1 Creating art & visualizations with Go 58:44

1 Foundations of Go performance 1:00:06

1 Gophers Say! GopherCon EU Athens 2024 28:47





1 What's new in Go's cryptography libraries: Part 2 1:11:38

1 Event-driven systems & architecture 1:05:24


1 What's new in Go's cryptography libraries: Part 1 58:31

1 The se7en deadly sins of Go 1:15:20

1 Experiences from GopherCon 2023 1:16:34





1 A deep dive into Go's stack 1:12:51

1 Building world-class developer experiences 1:20:20

1 So do we like Generics or not? 1:28:21




1 K8s vs serverless for distributed systems 47:22




1 The files & folders of Go projects 1:04:17


1 HallwayConf! A new style of conference 1:15:21



1 Domain-driven design with Go 1:11:54

1 The biggest job interview of GPT-4's life 1:07:15

1 Cross-platform graphical user interfaces 1:08:39


1 The bits of Go we avoid (and why) 1:00:24

1 This will blow your docs off 1:14:59






1 How Go helped save HealthCare.gov ♻️ 59:27

1 A special New Year's fireside chat 58:43




1 How Pinterest delivers software at scale 54:25




1 Spooky stories to scare devs 👻 1:00:03




1 Functional programming with generics? 53:38

1 Engineering interview tips & tricks 1:01:27






1 The pain of dependency management 44:43

1 Gophers Say! GopherCon EU Edition 40:33





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