YoVDO

Allocator Wrestling

Offered By: Gopher Academy via YouTube

Tags

GopherCon Courses Go Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of dynamic memory allocation in Go and its impact on performance in this 37-minute conference talk from GopherCon 2018. Dive deep into the Go runtime's implementation of malloc(), examining internal optimizations to understand when allocation is fast or slow. Learn to leverage Go's CPU profiler, heap profiler, and execution tracer to identify when reducing allocations can boost program speed. Discover strategies for amortizing or reducing heap allocation, including slab allocation, string interning, buffer recycling, and sync.Pool from the Go standard library. Gain insights into real-world scenarios where these techniques have proven beneficial, along with potential implementation challenges and pitfalls to avoid.

Syllabus

GopherCon 2018: Eben Freeman - Allocator Wrestling


Taught by

Gopher Academy

Related Courses

A Holistic Go Experience
Gopher Academy via YouTube
Safe, Fast, and Easy - Building a Plugin System with WebAssembly
Gopher Academy via YouTube
A Journey Through Integration Testing with Go - What Could Go Wrong?
Gopher Academy via YouTube
Kraken Wrangling for Dummies - Go Module Dependency Management at Scale
Gopher Academy via YouTube
Go, the Data Engineer's Missing Tool?
Gopher Academy via YouTube