No video

Memory Management in Go: The good, the bad and the ugly - Liam Hampton

  Рет қаралды 16,473

GopherCon UK

GopherCon UK

Күн бұрын

In this session, Liam delves into the crucial topic of memory management, providing a comprehensive overview of what it is, why it matters, and how to harness its power to write highly performant and cost-efficient code.
He navigates the intricacies of the Go memory model, highlighting its distinctions and similarities with other popular languages, whilst also explaining the use of built-in tools such as reserved keyword functions and pointers.
Liam will also share valuable best practices and illustrate key concepts with both good and bad coding examples. The overall objective of this talk is to provide you with an understanding of whats under the hood and empower you to take control of your code and write more efficient and performant code from the start.

Пікірлер: 12
@mateuszm6162
@mateuszm6162 9 ай бұрын
Hmm I actually hoped for some GC internals in Go; this presentation gives a high level overview and only touches multiple topics.
@shubhamsharma9754
@shubhamsharma9754 Ай бұрын
@mateuszm6162 Did you got hold of any better resources, which explain the GC internals in Go?
@Strawberry_Htet
@Strawberry_Htet 3 ай бұрын
I thought this talk will go deep dive into GC. This video only touches the high level concepts.
@shubhamsharma9754
@shubhamsharma9754 Ай бұрын
@Strawberry_Htet Did you got hold of any better resources, which explain the GC internals in Go?
@zzFluke
@zzFluke 3 ай бұрын
well it's really really high level stuff. Almost a quote from the talk: "Wonderful GC would come and clean all your memory for you, don't worry!"
@williamgilmore2226
@williamgilmore2226 Ай бұрын
Don’t waste your time watching this! I seldom am this harsh. There is minimal value in the information covered. At best, it is a time waste with a shill for CoPilot at the end. There are errors in it. The worst is that defer is scope by a code block where it is actually scoped at the function level. He absolutely states to not use global variables and subsequently states to reuse variables to minimize allocations without realizing that these two statements have conflicts in cases. Furthermore, he never references sync.Pool as an alternative means. There much better content available. much better
@invisibleinvisible83
@invisibleinvisible83 9 ай бұрын
Thank you 🙏🏻 🌹
@aleksandrkravtsov8727
@aleksandrkravtsov8727 2 ай бұрын
Sadly but "Golang manages memory with with memory management mechanisms, go and learn them somewhere else" is all you will get from this video
@robertfletcher8964
@robertfletcher8964 5 ай бұрын
08:00 isn't a leak/bug. thats the end of the program, the memory is about to be automatically de-allocated.
@invisibleinvisible83
@invisibleinvisible83 10 ай бұрын
Thank you 🙏🏻
@LLGilad
@LLGilad 10 ай бұрын
Improve sound please
@sebas11tian
@sebas11tian 2 ай бұрын
Instead of watching this look for even freeman's 2018 presentation.
Understanding Allocations: the Stack and the Heap - GopherCon SG 2019
21:39
Golang UK Conference 2016 - Dave Cheney - SOLID Go Design
27:30
GopherCon UK
Рет қаралды 107 М.
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
Кадр сыртындағы қызықтар | Келінжан
00:16
Go 1.20 Memory Arenas Are AMAZING | Prime Reacts
16:38
ThePrimeTime
Рет қаралды 96 М.
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 4 М.
The 7 Deadly Sins for Gophers - John Gregory
49:39
GopherCon UK
Рет қаралды 4,3 М.
Obscure Go Optimisations - Bryan Boreham
51:07
GopherCon UK
Рет қаралды 10 М.