Internals of Interfaces in Golang | Intermediate level

Author: Sreekanth
Published At: 2023-12-22T00:00:00
Length: 18:40

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:

https://research.swtch.com/interfaces

https://go101.org/article/interface.html

Translated At: 2025-07-06T11:19:23Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos