~/talk

Go memory management

Talkat GoLab 2021 · 2021-03-25..10-28· [go]
links:none on file
slides:none on file

Course material drills into how the Go runtime and compiler decide heap versus stack allocation, demonstrating with short code snippets that a single pointer return or closure often forces heap promotion. It uses live compilation output and escape analysis diagnostics to show when objects become orphans on the heap, and reproduces the behavior with the Go compiler and the -gcflags="-m" option. Practical fixes are applied and verified by recompiling and observing allocation changes.

AI-written summary · about

~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.