Changelog Master Feed

Don't forget about memory management (Go Time #194)


Listen Later

Bryan Boreham (Grafana Labs) and Jordan Lewis (Cockroach Labs) join Mat and Jon to talk about memory management in Go. We learn about the heap, the stack, and the garbage collector. There are also some absolute gems of wisdom scattered throughout this episode, don’t miss it.

Join the discussion

Changelog++ members save 3 minutes on this episode because they made the ads disappear. Join today!

Sponsors:

  • Sourcegraph – Sourcegraph is universal code search for every developer and team. Easily search across all the code that matters to you and your organization: find example code, explore and read code, debug issues, and more. Head to info.sourcegraph.com/changelog and click the button “Try Sourcegraph now” to get started.
  • Equinix Metal – If you want the choice and control of hardware…with low overhead…and the developer experience of the cloud – you need to check out Equinix Metal. Deploy in minutes across 18 global locations, from Silicon Valley to Sydney. Visit metal.equinix.com/justaddmetal and receive $100 credit to play.
  • LaunchDarklyShip fast. Rest easy. 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.
  • FastlyOur bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com
  • Featuring:

    • Bryan Boreham – X
    • Jordan Lewis – Website, GitHub, LinkedIn, X
    • Mat Ryer – GitHub, LinkedIn, Bluesky, X
    • Jon Calhoun – Website, GitHub, X

    Show Notes:

    Local meet-up shout-at

    Miriah Peterson (captainnobody1 on Twitter) says hello on behalf of the Utah Go User Group, as well as Women Who Go Utah.

    Some things mentioned on the show
    • Statsviz gives you an instant live visualization of your Go application runtime statistics (GC, MemStats, etc.) in the browser
    • sync.Pool helps you reduce allocations by keeping objects around when they might otherwise be garbage collected
    • From the Go blog: The Journey of Go’s Garbage Collector
    • Viewcore

      The viewcore tool is a command-line tool for exploring the state of a Go process that has dumped core.

      Jordan says:

      It’s complicated because it still doesn’t work out of the box, you need my branch which isn’t merged:

      • https://github.com/jordanlewis/debug/tree/fix-bugs… (my branch)
      • https://github.com/golang/debug/tree/master/cmd/viewcore… (the upstream)
      • https://go-review.googlesource.com/c/debug/+/321736… (the CL that isn’t merged yet)
      • Something missing or broken? PRs welcome!

        ...more
        View all episodesView all episodes
        Download on the App Store

        Changelog Master FeedBy Changelog Media

        • 4.4
        • 4.4
        • 4.4
        • 4.4
        • 4.4

        4.4

        29 ratings


        More shows like Changelog Master Feed

        View all
        Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

        Software Engineering Radio - the podcast for professional software developers

        272 Listeners

        Hanselminutes with Scott Hanselman by Scott Hanselman

        Hanselminutes with Scott Hanselman

        383 Listeners

        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        290 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        622 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        584 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        288 Listeners

        Thoughtworks Technology Podcast by Thoughtworks

        Thoughtworks Technology Podcast

        43 Listeners

        The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) by Sam Charrington

        The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

        437 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        987 Listeners

        CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

        CoRecursive: Coding Stories

        189 Listeners

        Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

        Kubernetes Podcast from Google

        180 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        204 Listeners

        The Stack Overflow Podcast by The Stack Overflow Podcast

        The Stack Overflow Podcast

        63 Listeners

        Big Technology Podcast by Alex Kantrowitz

        Big Technology Podcast

        501 Listeners

        Oxide and Friends by Oxide Computer Company

        Oxide and Friends

        66 Listeners