We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Internals of Interfaces in Golang | Intermediate level
Summary
Description
This video covers the internal of the interface types in Go language.
0:00 Basics of Interfaces
0:54 Changes in interfaces due to Generics
1:52 Interface elements
3:50 Identical interfaces
4:36 Type description structures
6:04 Memory layout of interfaces
11:17 Empty interface - runtime type representation
11:43 Type assertion
12:12 Type switch
12:41 why nil error is not nil
13:31 Benchmarking overhead of interface method call
17:23 Devirtualization
References:
Translated At: 2025-07-06T11:19:23Z