How Do Computers Remember? @SebastianLague
How Do Computers Remember?  @SebastianLague
Uploaded December 2020 | Updated September 2026, 2 weeks ago
Exploring some of the basics of computer memory: latches, flip flops, and registers!

Support my work (and get early access to new videos and source code) on Patreon or Nebula
* Patreon: patreon.com/SebastianLague
* Nebula: go.nebula.tv/sebastianlague

Source code and Simulator download:
* Simulation tool (work in progress): sebastian.itch.io/digital-logic-sim
* Source code: github.com/SebLague/Digital-Logic-Sim

Resources and Inspiration:
* youtube.com/c/BenEater
* coursera.org/learn/build-a-computer
* en.wikipedia.org/wiki/Flip-flop_(electronics)#SR_NOR_latch
* en.wikipedia.org/wiki/Sequential_logic
* electronics.stackexchange.com/questions/65463/why-edge-triggering-is-preferred-over-level-triggering
* tams.informatik.uni-hamburg.de/applets/hades/webdemos/16-flipflops/20-dlatch/dff-enable.html
* Music credits: github.com/SebLague/Misc-Project-Info/blob/main/Digital-Logic-Sim/HowComputersRemember.txt

Chapters:
00:00 Intro
00:33 Set-Reset Latch
04:33 Data Latch
05:56 Race Condition!
07:32 Breadboard Data Latch
09:36 Asynchronous Register
11:41 The Clock
13:03 Edge Triggered Flip Flop
14:18 Synchronous Register
16:48 Testing 4-bit Registers
18:25 Outro
How Do Computers Remember?Introduction to Game Development (E19: arrays and lists)Kinematic Equations (E03: ball problem)Procedural Landmass Generation (E20: refactoring 2/2)Gamedev Maths: distance from point to lineRPG graphics E05: Run animation [Blender]Introduction to Game Development (E03: Unity overview)[Unity 5] Object Pooling Tutorial[Unity] Procedural Planets (E02 settings editor)Coding Adventure: Marching CubesIntroduction to Game Development (E25: stealth game 3/3)Procedural Landmass Generation (E03: Octaves)
Sebastian Lague |

How Do Computers Remember?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER