How Do Computers Remember?

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 เม.ย. 2024
  • Exploring some of the basics of computer memory: latches, flip flops, and registers!
    Series playlist: • Exploring How Computer...
    Simulation tool (work in progress): sebastian.itch.io/digital-log...
    Source code: github.com/SebLague/Digital-L...
    Support the channel: / sebastianlague
    Resources and Inspiration:
    / beneater
    www.coursera.org/learn/build-...
    en.wikipedia.org/wiki/Flip-fl...
    en.wikipedia.org/wiki/Sequent...
    electronics.stackexchange.com...
    tams.informatik.uni-hamburg.d...
    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
    Music:
    "Frontier" by Shimmer
    "A Quiet Place" by Jordan White
    "Constellations" by Acreage
    "Beyond the Horizon" by Sounds Like Sander
    "Crystal Bursts" by Cody Martin
    "When Rain Comes" by Tide Electric
    "Air" by Assaf Ayalon
    "Mallets of Mischief" by Rhythm Scott
    Images:
    upload.wikimedia.org/wikipedi...

ความคิดเห็น • 4.1K

  • @SebastianLague
    @SebastianLague  3 ปีที่แล้ว +2301

    Hi everyone, I hope you enjoy the video!
    By popular demand, the little simulation tool is now available. Links below :)
    Download (windows/mac) sebastian.itch.io/digital-logic-sim
    Source: github.com/SebLague/Digital-Logic-Sim
    The project is free, but if you'd like to support my work you can set an optional amount to pay when downloading. Alternatively, you can support via Patreon to get early access to new videos and projects: www.patreon.com/SebastianLague

    • @Voltaire321
      @Voltaire321 3 ปีที่แล้ว +18

      Awesome! I was just going to ask about that. Thanks so much for sharing it.

    • @appleyt6757
      @appleyt6757 3 ปีที่แล้ว +7

      Thx for sharing this

    • @morezco
      @morezco 3 ปีที่แล้ว +5

      Amazing! I was also going to ask about that. Appreciate the quality in your content man!

    • @aliimran8479
      @aliimran8479 3 ปีที่แล้ว +1

      Thanks slot

    • @lexi6129
      @lexi6129 3 ปีที่แล้ว +11

      Could you please release a Linux version, i have tried running the windows version and Linux via Wine (I running ubuntu Server, With bspwm) but when ever i click off the window then come back it no longer takes input and idk why
      Edit:Linux version is released ty!

  • @sasino4569
    @sasino4569 3 ปีที่แล้ว +8982

    I'm not exaggerating this is basically an entire course that I took in university summed up in less than 20 minutes

    • @dimitrisspiridonidis3284
      @dimitrisspiridonidis3284 3 ปีที่แล้ว +264

      sad but true

    • @habboUdviseren
      @habboUdviseren 3 ปีที่แล้ว +315

      Otherwise they wouldn’t be able to charge you insane amounts of money for their course if it wasnt stretched out. Or rather - a wet cloth, you know? When you squeeze the last amount. Yeah - thats just your money they’re squeezing

    • @sasino4569
      @sasino4569 3 ปีที่แล้ว +246

      @@habboUdviseren Universities in my country are completely free

    • @habboUdviseren
      @habboUdviseren 3 ปีที่แล้ว +150

      @@sasino4569 Same here. But you gotta ask yourself. Is it really university level when a 20 min video sums it up?

    • @sasino4569
      @sasino4569 3 ปีที่แล้ว +125

      @@habboUdviseren No it's not. But at least I'm not paying for it

  • @niceguysayshi5765
    @niceguysayshi5765 3 ปีที่แล้ว +4275

    These Videos are so good, they should be shown in school

    • @Pi7on
      @Pi7on 3 ปีที่แล้ว +52

      100%

    • @nejatulusal1475
      @nejatulusal1475 3 ปีที่แล้ว +25

      @@jakubgamer4641 sadly but yes

    • @davescott7680
      @davescott7680 3 ปีที่แล้ว +97

      I've suddenly realised after all this time, what they were trying to teach me in electronics and my IT classes, quite some time ago. This made so much more sense.

    • @spatialfree
      @spatialfree 3 ปีที่แล้ว +11

      *they've replaced school

    • @gamermachine4048
      @gamermachine4048 3 ปีที่แล้ว +2

      Agreed

  • @zeorxofline
    @zeorxofline ปีที่แล้ว +357

    I was struggling at university to understand digital electronics ( flip flops and so on), I tried all my efforts and passed my test at last, but seeing this video in about 20 minutes explains the whole course, just WAW WAW WAW.

    • @accuFan
      @accuFan ปีที่แล้ว +11

      You could understand the video in 20 minutes because you already passed all the test and tried all your efforts. Do you think you could pass the tests only with this 20 minute video? By the way, Great video and wonderful explanation!!!!

    • @rogueninja185
      @rogueninja185 ปีที่แล้ว +5

      @@accuFan exactly, lol. I personally find it too fast for me.

    • @bco-fm5qu
      @bco-fm5qu ปีที่แล้ว +1

      @@rogueninja185 Yea, exactly. I taught myself programming then I finally go to a real class and I already know like 9/7 of the class.

    • @intelchip_x86
      @intelchip_x86 ปีที่แล้ว

      @@bco-fm5qu lmao

    • @KamalSadanah92
      @KamalSadanah92 ปีที่แล้ว +1

      my digital electronics exam tommorow still watching n dont understand

  • @31emanual
    @31emanual ปีที่แล้ว +374

    I know others have said it, but a continuation of this series that tackles RAM and beyond would be amazing

    • @raphaelmorgan2307
      @raphaelmorgan2307 ปีที่แล้ว +9

      I wanna know how computers store info when they turn off!

    • @acertainnemesis
      @acertainnemesis ปีที่แล้ว +1

      YEAH! I wanna learn RAM

    • @acertainnemesis
      @acertainnemesis ปีที่แล้ว +10

      @@raphaelmorgan2307 Oh the concept is basically using real life materials (like a long rounded string of a magnet, and writing data in the form of magnetization (1) or non magnetisation (0) the amount of storage in this kind of this kind is dependent on the length of the magnet. In CDs (please correct me if im wrong) dents are used as a differentiator (so if light reflects it will be 1 if it dents 0, Im sure sure if the correlation is correct tho). I dont know how but I would love to know how SSDs store data.

    • @xminusone1
      @xminusone1 ปีที่แล้ว +2

      @@acertainnemesis Exactly this. I've worked on old jukeboxes from the 50's and they had a memory build Exactly like this. They "remember" 15 songs selected and played them in a row. And these memories were build with iron cores. Chips are build that way too but miniature.
      Edit: CD data is also stored this way with very small holes punctured in it. I don't remember what of the holes or non holes are 1.

    • @acertainnemesis
      @acertainnemesis ปีที่แล้ว +2

      @@xminusone1 Thanks for the clarification on how CDs work. Also found it interesting that SSDs store data by trapping electrons (well that's the basic idea but it's waaaay too complex for me to understand currently). It's just so insane how small storage methods are now (even to the point of reaching subatomic levels) and how they can retain their states consistently even with such high complexities.

  • @voidvenom7452
    @voidvenom7452 3 ปีที่แล้ว +4319

    Congrats dude, you just summarized 3/4 of a semester of a University course in a free 20 minute video, with a more intuitive and digestible explanation.

    • @jamiebroere5251
      @jamiebroere5251 2 ปีที่แล้ว +25

      So true

    • @m0u21s
      @m0u21s 2 ปีที่แล้ว +32

      Men i love youtube bruh

    • @danieltemelkovski9828
      @danieltemelkovski9828 2 ปีที่แล้ว +51

      I'm not sure what made me click this video, since an interest in computer science is something I thought I left behind in an earlier life, never to be resurrected. Just hearing terms like gates, clocks, flip-flops brought back some very bad memories. And yet, in this presentation, it wasn't as scary as I remember it.

    • @dogguyful
      @dogguyful 2 ปีที่แล้ว

      @@geekazodium Hahaha😁😁😁

    • @Shizs
      @Shizs 2 ปีที่แล้ว +5

      Wait are is this serious? Please you guys send me some link that I'll probably need to watch before going into university. TH-cam give me more knowledge than school

  • @muteman2432
    @muteman2432 3 ปีที่แล้ว +2765

    I don't know about you guys, but I'm here to finally learn how redstone computers work

    • @Someoneyeeted
      @Someoneyeeted 3 ปีที่แล้ว +105

      When i saw the video i tried doing it in minecraft .... And it didn't work ... At all ...

    • @mayabartolabac
      @mayabartolabac 3 ปีที่แล้ว +62

      hey dude i make redstone computers in minecraft and this video helped me
      th-cam.com/video/C-r8rUydKHo/w-d-xo.html
      this video is part of a series of 3 other videos and it really goes into detail
      also, i recommend playing on the ORE server helped me a lot

    • @tundrummax6221
      @tundrummax6221 3 ปีที่แล้ว +136

      @@danielb270 its possible to make all gates in minecraft, and people have made many computers in minecraft before with just redstone

    • @benjaming.8368
      @benjaming.8368 3 ปีที่แล้ว +42

      @@danielb270 pretty sure AND gates are possible.
      A while since ive played, but some blocks allow current to go through. If you use a piston to fill a gap as input 1 and the redstone line with the gap as input 2, tada, AND gate.
      Edit: if you dislike moving parts, you can do this with two redstone torches and a comparator in comparison mode.
      What do you mean by propagating backwards?

    • @mayabartolabac
      @mayabartolabac 3 ปีที่แล้ว +56

      @@danielb270 dude making an AND gate is just inverting the inputs, connecting them together with a single redstone wire, and inverting the output of that wire not that hard

  • @RaiuTheEevee
    @RaiuTheEevee ปีที่แล้ว +93

    One of the things that I find so fascinating about Minecraft's redstone circuitry is how incredibly similar it is to real life circuitry. I wasn't even looking for a video about it, but this suddenely showed up on my recommended feed. This video helped me better understand how to do a small memory bank project I was trying to do the other day. Your way of explaining this in this video is very intuitive and I appreciate it.

    • @eduardmeiring8383
      @eduardmeiring8383 ปีที่แล้ว +10

      exactly what i was thinking 😭 i was obsessed with redstone 2 years back, and after seeing this i want to start again by building even more complicated machines

    • @DWlsh43
      @DWlsh43 ปีที่แล้ว +8

      that's so funny. probably like 7 years ago I was pretty into red stone, making various devices for automation. I haven't played Minecraft in years. seeing this video, I was like "oh hey I didn't realize Redstone was based off of basic circuitry"

    • @modernmajorgeneral4669
      @modernmajorgeneral4669 ปีที่แล้ว +3

      I want to see someone make a 4 bit adder with redstone.

    • @7MinutozRapsLetras
      @7MinutozRapsLetras ปีที่แล้ว +7

      @@modernmajorgeneral4669 its really easy tho

    • @RaiuTheEevee
      @RaiuTheEevee ปีที่แล้ว +8

      @@modernmajorgeneral4669 It's already been done many times. People have even built whole 8 bit computers with redstone

  • @untitledsurfer8503
    @untitledsurfer8503 ปีที่แล้ว +111

    I have a computer engineering degree and 10 years of work experience but I find your videos so amazing that I find myself watching them even about things that I already know. BTW I was so fixated and hypnotized by the way you move the mouse cursor and how smoothly it's done that I had to backtrack a section of the video several times because I was only paying attention to the mouse hahaha you make it seem so effortless like "I'm recording my screen just moving the mouse and talking" and I'm not sure but I'm under the impression the mouse is scripted or smoothed (great work! That's very hard to achieve and takes a lot of work and attention to detail). Anyway, your video is extremely easy to follow, and that's a huge and great thing because there is an immense amount of people trying to teach these concepts and yours has definitely stood out as the best, most beautiful, and easiest way to learn.

    • @lobsterfork
      @lobsterfork 5 หลายเดือนก่อน

      Well, he probably records the demo and then voices over it. He's human after all. :-p
      But yeah, the spectrum in me found all of that incredibly satisfying to watch.

  • @michaelerhardt2549
    @michaelerhardt2549 3 ปีที่แล้ว +771

    his cat is actually a computer scientist expert trying to build the circuit for him

    • @caetanogarelii6657
      @caetanogarelii6657 3 ปีที่แล้ว +1

      First comment

    • @zeptofine
      @zeptofine 3 ปีที่แล้ว +4

      Isnt that a game

    • @TheGodofcookiez
      @TheGodofcookiez 3 ปีที่แล้ว +7

      I think cat is instructing human where to put the wires 😂

    • @OrangeC7
      @OrangeC7 3 ปีที่แล้ว +9

      @@TheGodofcookiez The human needed some expert advice, he was so clearly putting everything in the wrong spots lol

    • @HailtotheKiin
      @HailtotheKiin 3 ปีที่แล้ว +7

      Circatry

  • @jesper2k
    @jesper2k 3 ปีที่แล้ว +1521

    These computer series videos are so well made, thanks so much for making them :D

    • @SebastianLague
      @SebastianLague  3 ปีที่แล้ว +159

      Thanks! Happy you like them :)

    • @carrotylemons1190
      @carrotylemons1190 3 ปีที่แล้ว +8

      Wait why is it 10 hours ago

    • @RForReversal
      @RForReversal 3 ปีที่แล้ว +22

      @@carrotylemons1190 Probably a perk of being a patron, they get earlier access to the video.

    • @animationspace8550
      @animationspace8550 3 ปีที่แล้ว +9

      All of his videos are made well, even his oldest ones. Starting to think he's just naturally good.

    • @anjusingh-jd7pd
      @anjusingh-jd7pd 3 ปีที่แล้ว

      How is it 11 hours ago

  • @EuropaE
    @EuropaE ปีที่แล้ว +31

    Hey Sebastian. I know I'm 2 years late to the party, but I just recently discovered this series of yours, and following along has been a blast! I'm curious by nature and have always wanted to understand fundamentally how computers work, so upon discovering your videos and the simulation tool you've made available, I knew I'd struck gold. I've sunk 10s of hours into grasping how each logic gate works and how stringing them together can eventually result in a functioning computer. I haven't even gotten to the later videos in this series, but I've already learned so much that I want to thank you for doing all of this. You're amazing!

    • @Isotropic_dude
      @Isotropic_dude 10 หลายเดือนก่อน

      "how each logic gate works and how stringing them together eventually leads into a functioning computer" can you share the resources from where you learnt? I'm a high school student, Computer Science has not been my subject so i'm not sure what keywords/ descriptions should i use to search the appropriate results online, this video is the closest i came across which explains how computers FUNDAMENTALLY work. Would be glad if you share your knowledge /\

    • @adithyaps3606
      @adithyaps3606 6 หลายเดือนก่อน

      ​@@Isotropic_dudeI think nand to tetris and the series by Ben Eater were the recommendations given by Sebastian in the first video

  • @bobdueck3854
    @bobdueck3854 ปีที่แล้ว +35

    This is a *really* good explanation of a basic topic in digital design. Well done! (I taught this material for 30 years.)

    • @manlikezakaado6135
      @manlikezakaado6135 ปีที่แล้ว

      Which course is this, I found it interesting

    • @kaiogomes956
      @kaiogomes956 11 หลายเดือนก่อน

      ​​@@manlikezakaado6135 Digital Design

  • @heh_boaner
    @heh_boaner 2 ปีที่แล้ว +1891

    I would binge watch an entire series like this.

    • @Bananappleboy
      @Bananappleboy 2 ปีที่แล้ว +10

      niko-

    • @anaycoding6594
      @anaycoding6594 2 ปีที่แล้ว +42

      sad theres only 2 videos

    • @Rob-777
      @Rob-777 2 ปีที่แล้ว +23

      @@anaycoding6594 yes he didnt do the RAM video apparently

    • @sandpaperunderthetable6708
      @sandpaperunderthetable6708 2 ปีที่แล้ว +4

      @@Rob-777 sad

    • @jamesmulloy9870
      @jamesmulloy9870 2 ปีที่แล้ว +1

      you should check out ben eaters videos. very informative and entertaining

  • @ktvx.94
    @ktvx.94 2 ปีที่แล้ว +750

    This guy in 10 years: "building a DIY quantum computer"

    • @hasany.9095
      @hasany.9095 2 ปีที่แล้ว +11

      I recommend Ben Eater

    • @daviskipchirchir1357
      @daviskipchirchir1357 2 ปีที่แล้ว

      @@hasany.9095 who is Ben Eater. Let me go search

    • @potatoboy549
      @potatoboy549 2 ปีที่แล้ว +5

      @@daviskipchirchir1357 Ben Eater is instructive, but can be hard to follow. This one is easier for beginners because it has an easily explainable simple diagram whereas Ben Eater does everything over a breadboard. Unfortunately, he’s really the only other youtuber that covers building a basic computer.

    • @daviskipchirchir1357
      @daviskipchirchir1357 2 ปีที่แล้ว

      @@potatoboy549 Thanks fahm.

    • @mondaymornings2
      @mondaymornings2 2 ปีที่แล้ว +2

      @@daviskipchirchir1357 glad to see a Kenyan here

  • @archimedeis
    @archimedeis 2 ปีที่แล้ว +22

    I watched this out of pure curiosity and it turns out it actually covered one of the modules of my CS syllabus. You're really good at visualizing explanations to make them easier to understand.

  • @matthewbowers88
    @matthewbowers88 ปีที่แล้ว +6

    I'm 2.5 minutes into discovering this channel and I can already tell I'm going to love this. You're hyper talented at teaching.

  • @genericytprofile852
    @genericytprofile852 3 ปีที่แล้ว +574

    3 episodes into the future: So now as you can see we have a fully functioning 64bit computer. But how do we do anything with it? Well for that we'd need to make an operating system..

    • @SimonTiger
      @SimonTiger 3 ปีที่แล้ว +29

      I think the next episode will be a 4, 8, or maybe 16-bit computer. But I think if Sebastian takes this series far enough, he will make an operating system, yes (though I don't think it will be 64-bit)!

    • @danielpalma7279
      @danielpalma7279 3 ปีที่แล้ว +9

      One of the learning resources in the descriptions is the course NAND to tetris, and in the second part you create an operating system, so there is hope

    • @beri4138
      @beri4138 3 ปีที่แล้ว +4

      I don't think you guys understand how complex a 64 bit cpu is.

    • @honorousjorg7200
      @honorousjorg7200 3 ปีที่แล้ว +28

      @@beri4138 I don't think you understand what a joke is.

    • @revimfadli4666
      @revimfadli4666 3 ปีที่แล้ว +4

      I wonder if it'll run GPT at one point

  • @psellison
    @psellison 2 ปีที่แล้ว +867

    In all my years I have NEVER had anyone explain these concepts to me in such a clear and straight forward manner! I love this video. These are amazing Sebastian and I hope you do more!

    • @technicalspider2547
      @technicalspider2547 2 ปีที่แล้ว +2

      This video is the best video ever in entire multi verse

    • @shadesmarerik4112
      @shadesmarerik4112 ปีที่แล้ว +4

      the thing is that just basic explanation doesnt enable u to work on ur own on those circuits. U need to do this on ur own. Thats why school is formulating those concepts as exercises u need to do for urself. And this takes effort and time from u.

    • @netiosys4677
      @netiosys4677 ปีที่แล้ว +1

      I still don't get it. Too fast for my slow brain

    • @netiosys4677
      @netiosys4677 ปีที่แล้ว +1

      I get it, but I don't get it you know. Nothing is illogical it just still seems like magic. Think I need to sit an tinker with it myself

    • @rafaelespinoza6530
      @rafaelespinoza6530 ปีที่แล้ว +1

      Amen 💕🔙🙈🙈💞

  • @1Dr490n
    @1Dr490n ปีที่แล้ว +4

    I've learned from you how awesome and interesting this whole topic is 2 years ago, and I haven't done much else than learning and exploring how computers work, also a bit more advanced stuff, and I had a lot of fun with it. Thank you!

  • @Henry14arsenal2007
    @Henry14arsenal2007 ปีที่แล้ว +10

    Just realizing the amount of gates that go into simple building blocks to store a couple of bits is mind-blowing.

  • @moosipea4206
    @moosipea4206 3 ปีที่แล้ว +887

    I can't tell if he's just moving the mouse cursor REALLY smoothly or its animated

    • @captain_code
      @captain_code 3 ปีที่แล้ว +61

      Exactly what i was wondering

    • @nicopullen158
      @nicopullen158 3 ปีที่แล้ว +118

      Same because the lines are always aligned as well

    • @petrimal
      @petrimal 3 ปีที่แล้ว +24

      Im SO glad Im not the only one

    • @devfasil4810
      @devfasil4810 3 ปีที่แล้ว +28

      It must be animated, right?

    • @leeoiou7295
      @leeoiou7295 3 ปีที่แล้ว +182

      The drawing is probably assisted. A simple algorithm to check the difference in y positions of the continued pixels. If they are under a threshold, then place the pixels on the same y axis as the first one.

  • @kcwidman
    @kcwidman 3 ปีที่แล้ว +474

    This video literally taught me more about digital logic than my entire, semester long university digital logic course. You do amazing work, but at the same time it makes me sad I wasn’t taught in a more effective manner.

    • @danieltemelkovski9828
      @danieltemelkovski9828 2 ปีที่แล้ว +8

      Yeah, if you told me back then that this stuff could actually be made to sound interesting, I'd have thought you nuts.

    • @Ben-rz9cf
      @Ben-rz9cf 2 ปีที่แล้ว +6

      I recommend learning blueprints in unreal engine. It looks a lot like this and you can do some really cool stuff with it. I have known some coding languages for years but only when i was able to visually work with the logic in blueprints without worrying about code did i truly grasp how to really use any of it functionally

    • @qitupmaga3403
      @qitupmaga3403 2 ปีที่แล้ว +4

      You needed a cat there to supervise, apparently

    • @mo4721
      @mo4721 2 ปีที่แล้ว +7

      The university does not give you the skills that the labor market needs. The university teaches you how to teach yourself on your own. Imagine, after fifty years, will your university degree benefit you, of course, no, because the labor market is developing rapidly

  • @armadillo9889
    @armadillo9889 ปีที่แล้ว +10

    you should really continue this series, this was a really great video!

  • @opDavi1
    @opDavi1 ปีที่แล้ว +2

    Sebastian, please continue this series! I know the basics but dont understand how all these components work together to make a full computer. I've never seen anyone explain these concepts simpler than you so it would be great to see more.

  • @amalirfan
    @amalirfan 3 ปีที่แล้ว +148

    this is ASMR for my brain. Feels like I am sleeping in a winter morning.

  • @el_quba
    @el_quba 3 ปีที่แล้ว +56

    18:45 Aaaaaaaah, that's why RAMs have clock speed. That video series is absolutely fantastic!

    • @Laff700
      @Laff700 3 ปีที่แล้ว +3

      I had looked into logic gates before and never figured out how to get around that issue. Using a clock makes sooo much sense now!

    • @feha92
      @feha92 3 ปีที่แล้ว +4

      That timestamp feels a bit mistimed :d

    • @UNSCPILOT
      @UNSCPILOT 3 ปีที่แล้ว +3

      I mean really, that's why *everything* has clock speeds, and he explains it so perfectly simple even a simpleton like me gets it, this is great

  • @gobinath7493
    @gobinath7493 2 หลายเดือนก่อน +1

    sir, please don't stop posting videos, because you are creating more engineers through your videos, it helps them to start in their career with clear base knowledge

  • @chrissysevigny2462
    @chrissysevigny2462 ปีที่แล้ว

    This was a really cool video! I just finished my Digital Design course, and your breakdown of the latch gates really helped me to understand better what was going on. Thanks for sharing!

  • @JJDSG
    @JJDSG 3 ปีที่แล้ว +866

    Loved the new content ☺️

  • @pentzilam
    @pentzilam 3 ปีที่แล้ว +86

    I'm using this video as an assistant for me to build a simple redstone computer in Minecraft and so far I have been able to recreate every circuit! Admittedly, its getting a bit large in my world but I'm excited for the next episode!!! Keep up the good work man.

    • @PandaPal_
      @PandaPal_ 2 ปีที่แล้ว +1

      hey that's exactly what im doing

    • @randomnessnecesity9627
      @randomnessnecesity9627 2 ปีที่แล้ว +1

      Good luck to the two of you! I'm using the series to try and build a little game console with my raspberry pi.

    • @ogsgamer1
      @ogsgamer1 2 ปีที่แล้ว

      lol

  • @occamraiser
    @occamraiser ปีที่แล้ว +9

    Unbelievably, in 1980 when I started my computer science degree this stuff was part of a BSc course. And it mattered, in an era where 'you can make any gate out of nand gates' was a revelation :)

    • @oberonpanopticon
      @oberonpanopticon 6 หลายเดือนก่อน

      Well, it’s still a revelation to people who’ve never studied computer science before

  • @oxynetz
    @oxynetz ปีที่แล้ว +1

    It all went over my head ...but somehow i couldnt stop watching....love computing. Great work Sebastian

  • @d3vitron779
    @d3vitron779 3 ปีที่แล้ว +292

    The only problem with this video is that it ended

    • @duffman7674
      @duffman7674 3 ปีที่แล้ว +7

      But the ending was great

    • @hawkleslayer8931
      @hawkleslayer8931 3 ปีที่แล้ว +4

      I'm going to tell him to do a part 3

    • @baze3541
      @baze3541 3 ปีที่แล้ว

      Saddest part

    • @user-lb3rx9sd3f
      @user-lb3rx9sd3f 3 ปีที่แล้ว

      Hohoho

    • @skullcat324
      @skullcat324 3 ปีที่แล้ว +2

      the cat pressed the outro button

  • @baraksmash
    @baraksmash 3 ปีที่แล้ว +87

    So lucky to come across this 47 seconds after it's published

    • @terohannula30
      @terohannula30 3 ปีที่แล้ว

      I did after 47 minutes 😆

  • @akulsoni3428
    @akulsoni3428 6 หลายเดือนก่อน +1

    Bro i just watched 2 of your videos and i am just filled with knowledge which i would hardly get from my school or somewhere else. I really appreciate you and your work you explain things really well and with the help of simulation i got it really quick . Just keep going brother

  • @thesciencewitch
    @thesciencewitch 23 วันที่ผ่านมา

    Really glad this hit my recommended - right up my alley. Thanks for such a clear, logical explanation and the simulator makes it SO easy to understand visually! Brilliant video

    • @thesciencewitch
      @thesciencewitch 23 วันที่ผ่านมา

      oh my god the kitti's lil pap pap at the circuitry was adorable!!!!

  • @mathieu525
    @mathieu525 2 ปีที่แล้ว +742

    You should really continue this video series! It has helped me understand alot of things about computers and how to make them in different games. It would be great if you continued it!

    • @thynepker-1453
      @thynepker-1453 ปีที่แล้ว +6

      Minecraft

    • @EpicVideoGamer7771
      @EpicVideoGamer7771 ปีที่แล้ว +2

      @@thynepker-1453 ?

    • @thynepker-1453
      @thynepker-1453 ปีที่แล้ว +5

      @@EpicVideoGamer7771 red stone in minecraft

    • @noxnight
      @noxnight ปีที่แล้ว +2

      @@thynepker-1453 first thing i thought about x)

    • @professorpoke
      @professorpoke ปีที่แล้ว +3

      I have made a adder in minecraft. Also a binary to decimal converter using a 7 segment display.

  • @MattiaConti
    @MattiaConti 3 ปีที่แล้ว +74

    This is exactly a part of one course that I followed last year at Politecnico of Milano, but thanks to the visual approach is 10 times better!

    • @stefanobertolotti2555
      @stefanobertolotti2555 3 ปีที่แล้ว

      Ah bene, non pensavo potesse essere così.

    • @MattiaConti
      @MattiaConti 3 ปีที่แล้ว

      @@stefanobertolotti2555 why?

    • @MrSumkinFedor
      @MrSumkinFedor 3 ปีที่แล้ว

      I stydied it a t TSTU in Russia

    • @MattiaConti
      @MattiaConti 3 ปีที่แล้ว

      @@MrSumkinFedor what is TSTU ?

    • @MrSumkinFedor
      @MrSumkinFedor 3 ปีที่แล้ว +2

      @@MattiaConti Tver State Technical University

  • @tomthumb3085
    @tomthumb3085 4 หลายเดือนก่อน +3

    Probably the clearest and most understandable explanation I’ve ever seen. Excellent video, thanks.

  • @EchelonTheCat
    @EchelonTheCat 2 ปีที่แล้ว

    Both of your videos on computer science have been amazing. So clear and easy to understand (though it took me much longer than the video time to digest everything fully and create the same components in the simulator for myself and truly understand them). I really do hope you'll make that next video you promised, but even if not, thanks so much for what you've done so far!

  • @rmrob148
    @rmrob148 2 ปีที่แล้ว +196

    Please, please do more of this series. So incredibly informative and digestible. I ended up downloading your simulator and tried to guess what the solutions were before you showed them. I was wrong most of the time, but it was very fun and scratched a brain-itch I didn't realize I had. Thank you.

    • @andrewliu6592
      @andrewliu6592 2 ปีที่แล้ว +5

      Ben eater has a series on building an 8 bit computer and also creating a system using a 6502 microprocessor

    • @petefrancisco3267
      @petefrancisco3267 7 หลายเดือนก่อน

      You made all those simulator? 😆
      I remember Jon teaching me in DOS.. He said, "Type:c:/ (slash)". I put "\".. He said, "Hindi slash yan, "backlash" yan! 😆😆😆.. He is really nice with all that patience! He teach graphic games in DOS!.. By the way, he is also a student! Classmate si Tracy....

  • @jaytea3085
    @jaytea3085 3 ปีที่แล้ว +63

    you are SUCH a good teacher! i'm absolutely loving this series so far. every single step between the paper clip and-gate at the start of the first video to the 4-bit register at the end of this video has felt completely clear and logical. and you're really good at making effective visuals to go along with whatever you're describing. mad props, keep it up!

    • @SebastianLague
      @SebastianLague  3 ปีที่แล้ว +18

      Thank you!

    • @ludodejongh4672
      @ludodejongh4672 2 ปีที่แล้ว +2

      Why does this not have more comments?

    • @rafaelespinoza6530
      @rafaelespinoza6530 ปีที่แล้ว +1

      Ok rocky Balboa boxing up in the morning America happy birthday dad 🎁🥳🎁🎁 okay mom stop 🛑 acting like a foolish stuff 👍🙏👍🙏💓🙏 Amen 🙏💞🙏🙏 Amen 🙏🌄

  • @ziggyzoggin
    @ziggyzoggin ปีที่แล้ว +2

    please continue this, this is my favorite series on your channel.

  • @TheWindpacer
    @TheWindpacer ปีที่แล้ว +1

    Most underrated channel. Good work explaining the concepts. The voice is clear and easy to understand. Keep up the good work. 👏

  • @TheBookworm284
    @TheBookworm284 3 ปีที่แล้ว +72

    I took a class on this years back in college and never did wrap my brain around these concepts. This just about covered the last 2 months of that class in 20 minutes and made way more sense than any lecture or book.

  • @tylerfara
    @tylerfara 2 ปีที่แล้ว +19

    Truly phenomenal. I love how you set so many things up as, "Here is a problem that gets introduced when we try to make this harder...and here is the solution to that problem."

  • @TheKingTVlmao_SUCK_MY_WEENIE
    @TheKingTVlmao_SUCK_MY_WEENIE 2 ปีที่แล้ว

    wow this is incredible, you make complex topics so digestable and fun. I really hope you come back to this topic/series at some point

  • @nooterdooter6497
    @nooterdooter6497 ปีที่แล้ว

    Quite interesting video. Just got done with a digital logic class in my first year of college and you nailed the explanations of this topic! Honeslty one of my biggest takeaways from the class was latches so it is cool to see videos like this explaining a core part of how computers work in an easily-digestable video. Great work!

  • @shalinsaju9620
    @shalinsaju9620 3 ปีที่แล้ว +198

    6:00 Alternate title : how to make a redstone burnout clock

    • @levb258
      @levb258 3 ปีที่แล้ว +31

      I'm actually following the tutorials along in Minecraft, which is pretty fun.

    • @TheAzizurRahman
      @TheAzizurRahman 3 ปีที่แล้ว +6

      @@levb258 I liked that too.

    • @evanherriges4042
      @evanherriges4042 3 ปีที่แล้ว +4

      @@levb258 I actually thought about trying these in various games with logic systems to see how they work in them.

    • @daviamsilva
      @daviamsilva 3 ปีที่แล้ว +2

      Profile picture checks out

    • @zakyzein4521
      @zakyzein4521 3 ปีที่แล้ว +7

      Mc bedrock redstone : 7:03

  • @SuperGamersgames
    @SuperGamersgames 3 ปีที่แล้ว +88

    Just imagine in the future someone takes your program and goes, “hey guys! I’ve made a functioning computer in this logic simulation.”

    • @tacticalassaultanteater9678
      @tacticalassaultanteater9678 3 ปีที่แล้ว +31

      The point of this series is that making a computer isn't difficult at all, it just takes a while. Making a good, fast computer, now that's a challenge for 70 years and some of the greatest minds of our age.

    • @APaleDot
      @APaleDot 3 ปีที่แล้ว +17

      I imagine this "someone" will be Sebastian himself at the end of this series.

    • @HomeofLawboy
      @HomeofLawboy 3 ปีที่แล้ว +2

      I made one once, with the simulation I built, it was really hard to program it, and it was very slow, like one instruction every 1.6 seconds if I remember correctly

    • @Tomahawks360
      @Tomahawks360 3 ปีที่แล้ว +5

      Then he will program a logic simulation in that computer, and the cycle would continue

    • @UNSCPILOT
      @UNSCPILOT 3 ปีที่แล้ว +1

      It feels like he's only 2 or 3 steps from that himself

  • @FASHIONIZE
    @FASHIONIZE 20 วันที่ผ่านมา

    this video is sooo good, i”ve been trying to understand these concepts for so long ,no other video has made it this simple to digest

  • @batatbatat
    @batatbatat 4 หลายเดือนก่อน

    Absolútne perfektné video. Neuveriteľne názorne vysvetlené základy počítačov. super!

  • @defhunta7301
    @defhunta7301 3 ปีที่แล้ว +18

    I really liked the slow moving signals in the connections, it really helped visualise what was happening. Can't wait for the next episode!

  • @luke7503
    @luke7503 3 ปีที่แล้ว +78

    You could so turn this into a puzzle game that teaches you to complete levels and complete all of these, with hints and info on solution

    • @xeryus3357
      @xeryus3357 2 ปีที่แล้ว +1

      @@BusinessWolf1 ?

    • @BusinessWolf1
      @BusinessWolf1 2 ปีที่แล้ว

      @@xeryus3357 ignore it, I'm deleting it idk why the fuck I wrote that

    • @xeryus3357
      @xeryus3357 2 ปีที่แล้ว

      @@BusinessWolf1 lol aright

    • @ZaHandle
      @ZaHandle 2 ปีที่แล้ว +1

      @@BusinessWolf1 now everyone reading this is confused

    • @BusinessWolf1
      @BusinessWolf1 2 ปีที่แล้ว

      @@ZaHandle I'm okay with that :))

  • @neverendingfire
    @neverendingfire ปีที่แล้ว

    This is the first of your video's that I came across, and I found it really interesting and very nicely explained! Thank you Sebastian for that! I hope to watch more! I have subscribed!

  • @cxsey8587
    @cxsey8587 ปีที่แล้ว +5

    Really hope you continue this, helps bridge the gap between hardware and low level programming very well

  • @nikosaarinen3258
    @nikosaarinen3258 3 ปีที่แล้ว +591

    This video really makes me want a cat.
    Also makes me want to make a computer in Minecraft, but mainly I just want a cat

    • @legion2069
      @legion2069 3 ปีที่แล้ว +21

      Coincidentally enough he actually makes a rather popular redstone circuit called an RSNor latch in the first 1/3 of the video

    • @DeltaEchoVictor
      @DeltaEchoVictor 2 ปีที่แล้ว

      I have that same idea too

    • @k.d.kelley2830
      @k.d.kelley2830 2 ปีที่แล้ว

      🤣

    • @EvelineFlowercrown
      @EvelineFlowercrown 2 ปีที่แล้ว +5

      I am currently building an 8 bit adder in minecraft and it's actually not that hard. You should give it a try!
      And I want a cat too :(

    • @DeltaEchoVictor
      @DeltaEchoVictor 2 ปีที่แล้ว +2

      @@EvelineFlowercrown ya adder is too wasy to build it only need xor gate and and gate

  • @dennyatnotts
    @dennyatnotts 3 ปีที่แล้ว +6

    This is so nostalgic for me. I spent most of my childhood doing just this sort of thing, breadboarding 7400 series ICs and building PCBs. My 'go to' clock was nothing more than a 555. Many happy hours spent working out schematics and board designs.

  • @amittyagiat80
    @amittyagiat80 ปีที่แล้ว

    Excellent informative video. Crisp clear audio visuals.👍

  • @lucifer6099
    @lucifer6099 ปีที่แล้ว +1

    You're doing what my university couldn't do, you're making me fall in love with core computer science. Kudos to you man! What a clear and fun explanation to these concepts :D

  • @laelcosta7060
    @laelcosta7060 3 ปีที่แล้ว +11

    This series is helping me to fill in a void in my understanding of computers that's been really bothering me. Thank you for presenting this fascinating information in such a clear and engaging way!

  • @Crozz22
    @Crozz22 3 ปีที่แล้ว +51

    This series is so good it's gonna be equivalent to a 1-day computer science degree

  • @lobsterfork
    @lobsterfork 5 หลายเดือนก่อน

    This was great. Just the right amount of simplicity and complexity.

  • @killzone1490
    @killzone1490 ปีที่แล้ว +1

    You actually make this so clear, I can draw out these circuits on grid paper with almost zero background beyond this video. I've been drawing out exploded diagrams of each of these chips as they go and it's mind blowing how compact and cheaply these can be made

  • @jonathanmoothart8038
    @jonathanmoothart8038 3 ปีที่แล้ว +5

    Dude this series is AMAZING! It's remarkably informative and presented in an easy to comprehend manner. Please make more of these dude!

  • @ItsGosho
    @ItsGosho 2 ปีที่แล้ว +28

    These videos are a masterpiece. That explanation, music & visualization are something that all teachers must learn how to do.

  • @michaelpolinsky4611
    @michaelpolinsky4611 ปีที่แล้ว

    Man, this is so intriguing!
    I hope you make more videos on this topic!

  • @ComputerElectronicTechnology
    @ComputerElectronicTechnology ปีที่แล้ว

    Thank you for this refresher. Nice to see these videos being made!

  • @barmetler
    @barmetler 3 ปีที่แล้ว +11

    I absolutely love your aesthetic! Everything is so clean and easy to understand and well structured and nice and good and nice!
    I'm always excited when I see a new upload, keep it up!

  • @charliebrewis1158
    @charliebrewis1158 2 ปีที่แล้ว +44

    PLEASE CONTINUE THIS SERIES, IT'S INCREDIBLE

  • @fujinafiul6044
    @fujinafiul6044 ปีที่แล้ว +1

    just WOW... I am working in the Software industry for about 3+ years now and I almost forgot the basics of the boring ( that's how the teacher explained ..!) register which I hated during my grad classes... but OMG... It's fascinating how easily you just described a register for great understanding where it took so many boring unclear classes to know about these in grad classes.. wish every grad teacher were like you man.. keep up the good work..!

  • @modernmajorgeneral4669
    @modernmajorgeneral4669 ปีที่แล้ว +1

    I love the videos in this series. I got the simulation, and it really helps me understand what you are saying even better, which is saying something because you explain everything extremely well. Just one quick suggestion for the sim: Make players able to delete chips, preferably by right-clicking, which would bring up a small button to delete. I made a 4 bit adder, but then realized if I was to ever use it in even bigger calculators, I would need to add a carry in input (something I neglected to do). Now I have two adder types, and the first one isn't worth having, but here I am.

  • @ruthmoreton6975
    @ruthmoreton6975 2 ปีที่แล้ว +12

    Really looking forward to seeing the next video in this series. This is similar to what we learned in 1st Year Computer Science but much clearer!

  • @J_E_N_T
    @J_E_N_T 2 ปีที่แล้ว +37

    I'd absolutely love an episode 3 of this series, you've done an amazing job :)

  • @kosullivan
    @kosullivan ปีที่แล้ว

    Please continue this series! Beautiful in its simplicity, it's like a riveting mystery

  • @insameuser9741
    @insameuser9741 ปีที่แล้ว

    bro you need to continue this is is crazy (i love it)

  • @rezzacool
    @rezzacool 3 ปีที่แล้ว +6

    I've been refreshing your channel every day since this came out waiting for part 3..! So excited!

  • @devsauce
    @devsauce 3 ปีที่แล้ว +9

    These series are so interesting !
    I've been following Ben Eaters videos for a while now and it would
    be so cool to remake his 8-bit computer within your simulation app.

    • @theivtcho
      @theivtcho 3 ปีที่แล้ว +1

      Was looking for this comment.

  • @lukehibbert3000
    @lukehibbert3000 2 ปีที่แล้ว +1

    sebastian please comtinue this series its so well thought out and explained

  • @wabbatal
    @wabbatal ปีที่แล้ว

    I really hope you continue this series man. It’s awesome

  • @rutvikpanchal466
    @rutvikpanchal466 3 ปีที่แล้ว +39

    The moment i saw memory in the title, The microprocessor subject from my engineering course rushed through my mind and i immediately wondered if you included the infamous race condition and what happens when the power turns on when both the NOR gates are off in SR latch.
    Also i think you should have also included what happens if both the set and reset are HIGH at the same time.

    • @SheepUndefined
      @SheepUndefined 3 ปีที่แล้ว +3

      Uh, I'll bite! What would happen in that last case?

    • @rutvikpanchal466
      @rutvikpanchal466 3 ปีที่แล้ว +6

      @@SheepUndefined in that case both the outputs Q and Q' will go LOW (using uppercase due to typing convention for bit states) which shouldn't happen in terms of logical properties we have assigned to the outputs.
      As the Q' is the opposite of Q both being the same value breaks the logic hence that state is considered an invalid state where the output of the latch isn't considered. In real world this never really happens because logically only one input of S or R is allowed to either SET or RESET the latch.
      You can map how both the outputs go LOW using a pen and a paper, start with any one input and you'll slowly see how the outputs go LOW. You can also map this just by looking at the latch but it might be difficult to track. For reference you can check out SR Latch video by Ben Eater. His entire series of 8-bit breadboard computer is a goldmine of knowledge and i am genuinely amazed by the effort he puts in all of his videos to educate people all around the world for free (Think about it, cutting out wires to exact size necessary to provide crystal clear presentation of circuits!). His youtube channel has taught me more than my college on that subject. Same goes for many many creators on TH-cam, @Sebastian Lague obviously being one of them.

    • @Roxor128
      @Roxor128 2 ปีที่แล้ว +1

      @@rutvikpanchal466 I ran into that in a game of Factorio while trying to implement a combinator circuit to disable a train station for an oil patch that didn't produce much and avoid sending the oil train off on the long route to it when there wasn't enough available to make the trip worthwhile. I eventually got it working properly, but not without partially dismantling things to get it into a stable state. I think it got into the glitched state when setting up the combinators that provided the set and reset signals.

  • @tisajokt7676
    @tisajokt7676 3 ปีที่แล้ว +11

    Throughout my whole Computer Architecture course they didn't explain how edge triggering actually worked, they just handwaved it, so this was quite insightful in that regard!

  • @melikmusic
    @melikmusic ปีที่แล้ว

    Whoa mate! kindly continue the series! It is really helpful on building computers

  • @joshfrayna1250
    @joshfrayna1250 ปีที่แล้ว

    I should have saw this before finishing my semester last 2020. The lecture about latch makes clear to me on your video

  • @jlhs-xb8wo
    @jlhs-xb8wo 3 ปีที่แล้ว +10

    This has got to be one of the best if not the best youtube channel I've found.

  • @13tennt3
    @13tennt3 2 ปีที่แล้ว +2

    Perfectly done! Please continue this series. 🙏🏼

  • @emagdnimindgame85
    @emagdnimindgame85 ปีที่แล้ว

    This is the best video I have watched in quite some time. That simulation program looks really nice too. I'm not a computer learned person but I've always had some curiosity about how these things work

  • @eenayeah
    @eenayeah 6 หลายเดือนก่อน

    This is absolutely MIND BLOWING.

  • @rjponce15
    @rjponce15 2 ปีที่แล้ว +15

    I'm learning all the basic gates in college right now and you just gave me new motivation on why I'm studying electrical engineering and why I love doing stuff like this so much! I love this video. Thank you for making this!

    • @rafaelespinoza6530
      @rafaelespinoza6530 ปีที่แล้ว +1

      Amazing amount of time 🙂😘 any way you can tell me the truth about us crises center Amen 💕🔙🙈💞 okey dokey doke Amen 🙏💞🙈💞😜🤣🤣🤣🤣

    • @rafaelespinoza6530
      @rafaelespinoza6530 ปีที่แล้ว +1

      Ok correct 💯🫂💟

  • @aaronfitzpatrick598
    @aaronfitzpatrick598 2 ปีที่แล้ว +3

    Great video, so intuitive! Looking forward to the next one in the series.

  • @BeerAndWarcraft
    @BeerAndWarcraft ปีที่แล้ว

    I just discovered this channel today, and I love it. Well done and thanks!

  • @Fungustus1
    @Fungustus1 16 วันที่ผ่านมา

    The Visuals really helped me understand these concepts way easier!

  • @moldman5694
    @moldman5694 2 ปีที่แล้ว +5

    3:35 brings me back to learning redstone like 10 years ago

  • @Samtreee
    @Samtreee 6 หลายเดือนก่อน

    As someone studying electrical engineering this video has been incredibly amazing to watch. It's teaching me principles in PLC programming and electronic circuits. It's cool to see the two work together through you building the electronic circuit and showing it in PLC form.

  • @drevoksi
    @drevoksi ปีที่แล้ว +1

    This is so so interesting! Thank you a lot for making videos like this one. I became interested in the topic after Matt Parker's video about domino calculator and learned quite a lot of things afterwards, so I was able to understand everything here and learn even more.

  • @leumasme
    @leumasme 3 ปีที่แล้ว +3

    Wow, you are perfectly in sync with my classes about exactly this topic! We literally had the flip-flops you talked about just 2 days ago.

  • @shantanubadve4668
    @shantanubadve4668 3 ปีที่แล้ว +7

    You practically taught me an entire subject from this semester in 19 minutes.

  • @izidorlesic9216
    @izidorlesic9216 ปีที่แล้ว

    We need more videos of this series!!

  • @Danielle-ew1el
    @Danielle-ew1el 2 วันที่ผ่านมา

    your video was a breath of fresh air. so uplifting! ️