Connect with us

Media

Swift – Stack vs Heap

Besides being an excellent interview question, knowing the difference between a stack and a heap will make you a better programmer.

In this video we look at:

  • What the Swift stack and heap are
  • How they are difference
  • How they help us write better programs

Content:

  • 0:00 Intro
  • 0:47 What is a stack
  • 1:27 What is a heap
  • 1:50 How are they different
  • 3:18 A working example

Advertisement

Trending