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
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!
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.
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
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.
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!!!!
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!
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.
hey dude i make redstone computers in minecraft and this video helped me ruclips.net/video/C-r8rUydKHo/видео.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
@@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?
@@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
@@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.
@@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.
@@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.
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.
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
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
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!
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.
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.
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....
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!
"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 /\
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.
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!
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..
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)!
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
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."
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.
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.
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!
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.
@@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.
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 :)
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.
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
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!
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!
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.
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!
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!
man I have been studying this at the university for 2 years and I didn't understand anything, you just clarified everything in 20 minutes 😢 . I will save this playlist for my children in the future. ❤
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.
I know no one will see it, though Sabastian's videos have been a great inspiration to me. Watching him gives me so many ideas for projects. I have made my own Raymarcher, Erosion Simulation, Marching Cubes algorithm, ect. Thanks!
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
I was enrolled in computer logic design and the whole computer science program at the start of college. The logic was fascinating but the content itself way over my head at the time. I switched my major to anthropology, but kept a career in I.T. and computer repair. So now, 10 years later, I find myself so engaged in your videos and have a deeper understanding of these core concepts than was ever possible back in college. I legit want a bread board for myself - I've wanted to understand electricity since I first understood the computational scope of something as "simple" as a PC videogame. Thank you for these lessons :)
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.
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
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"
I studied computer science at UC Berkeley and our professors never even explained this as well as you have. Huge pat on the back. Really reignited my passion for the subject
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.
Wanted to share that my son (8yo, homeschooled) absolutely LOVED building his own gates with the simulator you released! He's particularly proud of a "pulsing, frequency modulator, with memory" circuit he built, just by playing around. We love all your videos, Sebastian, thank you so much for contributing to the commons! (My son insists I describe the truth table for the circuit he's made: 0 0 | pulse pulse pulse 0 1 | antipulse pulse pulse 1 0 | 1 pls pls 1 1 | 1 0 0 )
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
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..!
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 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 RUclips, @Sebastian Lague obviously being one of them.
@@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.
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.
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
you could add an and gate connected from each of the register data inputs to a button whose output is 'not'ed then connect that button (without a not) to the store input of the register you then press the button to reset basically it turns the inputs off and then immediately saves the nothing
This series is great! I always wanted to learn about this somhow, but never really go into it properly despite being interested. You making all this so easy has really inspired me to learn this stuff properly! Also, I have a tiny complaint. The digital logic simulator appears to be somewhat unoptimized. I left it running in the background and it began to lag my computer, though the CPU usage was still really low.
It'd be really cool if after using the abbreviations like NOR, AND etc, you show the expanded version of the program with no abbreviations, just to see how complex it would be if you were to construct it simply with wires and switches!
Awesome video, just a quick idea to to make the simulation more visual : turn the input and ouput pin red when the signal is on (true, high, etc) for that connector.
Hours of tinkering around with redstone circuits in minecraft has made me understand this video well, and apparently it has also made me realize my early passion for computer science, despite me being a kid
Run with it, and use it for you advantage. The truth is high school knowledge doesn’t get you far, but it can give you great opportunity’s like finding good programs to learn from but really people excel at the things they are passionate to pursue, follow what you want to follow and pursue your dreams man!
ram technically is like a drive but it can't hold memory for a long time , example: I open a document in my document reader, the read stores the app itself and if I were to close the app, it will remove/reset the app and send it back to the main drive, idk if this is 100% correct but its a theory I thought of
@@PrivacyNProgramming What you said is 100% correct. That's why we call it Temporary memory somtimes :0 also another difference between a ram and a normal memory drive is that they are much, much faster "faster than a ssd by a lot".
@@pixeltochi4961 yes, a memory drive is much more faster than an ssd but there is another factor in play... HOW MUCH memory you have, you can't expect a computer with 4 Gb Ram to hold an ULTRA grafics game since it need more cpu and memory power and after all that memory is used up, your OS will probably crash since there is no more memory to run important processes
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
This definitely did not cover a whole Semester of Computer Science (at least in my case, other comments say different things). Though the worth of this video is enormous. I already knew everything that was covered and it still felt like i've learned something. Just because of the simple and beautiful way of presentation
Pretty amazing how humans have figured this out from this relatively primitive computing, to being able to play AAA games with ray tracing in 4k. I wonder if there is a limit to technological progress if we were to able to keep our civilization going.
The way he presents and explains it makes it even feel like some natural phenomenon that humans only discovered but didn't invent. But we did, indeed, invent this stuff. Sure, not quite as impressive as the human brain, but we sure are on our way creating that from scratch, too.
The next step is using the fabric of space and time to compute our information (quantum) Sadly we once controlled the machines but soon the machines will control us.
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
Awesome! I was just going to ask about that. Thanks so much for sharing it.
Amazing! I was also going to ask about that. Appreciate the quality in your content man!
Thanks slot
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!
Love you my dude
These Videos are so good, they should be shown in school
100%
@@jakubgamer4641 sadly but yes
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.
*they've replaced school
Agreed
I'm not exaggerating this is basically an entire course that I took in university summed up in less than 20 minutes
sad but true
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
@@habboUdviseren Universities in my country are completely free
@@sasino4569 Same here. But you gotta ask yourself. Is it really university level when a 20 min video sums it up?
@@habboUdviseren No it's not. But at least I'm not paying for it
These computer series videos are so well made, thanks so much for making them :D
Thanks! Happy you like them :)
Wait why is it 10 hours ago
@@carrotylemons1190 Probably a perk of being a patron, they get earlier access to the video.
All of his videos are made well, even his oldest ones. Starting to think he's just naturally good.
How is it 11 hours ago
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.
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!!!!
@@accuFan exactly, lol. I personally find it too fast for me.
@@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.
@@bco-fm5qu lmao
my digital electronics exam tommorow still watching n dont understand
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!
This video is the best video ever in entire multi verse
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.
I still don't get it. Too fast for my slow brain
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
Amen 💕🔙🙈🙈💞
I would binge watch an entire series like this.
niko-
sad theres only 2 videos
@@anaycoding6594 yes he didnt do the RAM video apparently
@@Rob-777 sad
you should check out ben eaters videos. very informative and entertaining
I don't know about you guys, but I'm here to finally learn how redstone computers work
When i saw the video i tried doing it in minecraft .... And it didn't work ... At all ...
hey dude i make redstone computers in minecraft and this video helped me
ruclips.net/video/C-r8rUydKHo/видео.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
@@danielb270 its possible to make all gates in minecraft, and people have made many computers in minecraft before with just redstone
@@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?
@@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
I know others have said it, but a continuation of this series that tackles RAM and beyond would be amazing
I wanna know how computers store info when they turn off!
YEAH! I wanna learn RAM
@@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.
@@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.
@@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.
Loved the new content ☺️
Thanks!
Why this doesn't have more comments?
Why is it past tense?
@@tthung8668 I can't read between the lines, so if they didn't say it, that's not what they meant.
Like
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.
Yeah, if you told me back then that this stuff could actually be made to sound interesting, I'd have thought you nuts.
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
You needed a cat there to supervise, apparently
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
this is ASMR for my brain. Feels like I am sleeping in a winter morning.
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!
Thank you!
Why does this not have more comments?
Ok rocky Balboa boxing up in the morning America happy birthday dad 🎁🥳🎁🎁 okay mom stop 🛑 acting like a foolish stuff 👍🙏👍🙏💓🙏 Amen 🙏💞🙏🙏 Amen 🙏🌄
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.
hey that's exactly what im doing
Good luck to the two of you! I'm using the series to try and build a little game console with my raspberry pi.
lol
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.
Ben eater has a series on building an 8 bit computer and also creating a system using a 6502 microprocessor
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....
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!
"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 /\
@@Isotropic_dudeI think nand to tetris and the series by Ben Eater were the recommendations given by Sebastian in the first video
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.
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!
Minecraft
@@thynepker-1453 ?
@@EpicVideoGamer7771 red stone in minecraft
@@thynepker-1453 first thing i thought about x)
I have made a adder in minecraft. Also a binary to decimal converter using a 7 segment display.
his cat is actually a computer scientist expert trying to build the circuit for him
First comment
Isnt that a game
I think cat is instructing human where to put the wires 😂
@@TheGodofcookiez The human needed some expert advice, he was so clearly putting everything in the wrong spots lol
Circatry
This is a *really* good explanation of a basic topic in digital design. Well done! (I taught this material for 30 years.)
Which course is this, I found it interesting
@@manlikezakaado6135 Digital Design
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..
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)!
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
I don't think you guys understand how complex a 64 bit cpu is.
@@beri4138 I don't think you understand what a joke is.
I wonder if it'll run GPT at one point
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."
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!
Ah bene, non pensavo potesse essere così.
@@stefanobertolotti2555 why?
I stydied it a t TSTU in Russia
@@MrSumkinFedor what is TSTU ?
@@MattiaConti Tver State Technical University
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.
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.
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.
So lucky to come across this 47 seconds after it's published
I did after 47 minutes 😆
I really liked the slow moving signals in the connections, it really helped visualise what was happening. Can't wait for the next episode!
Probably the clearest and most understandable explanation I’ve ever seen. Excellent video, thanks.
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!
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.
This guy in 10 years: "building a DIY quantum computer"
I recommend Ben Eater
@@hasany.9095 who is Ben Eater. Let me go search
@@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.
@@potatoboy549 Thanks fahm.
@@daviskipchirchir1357 glad to see a Kenyan here
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 :)
Well, it’s still a revelation to people who’ve never studied computer science before
18:45 Aaaaaaaah, that's why RAMs have clock speed. That video series is absolutely fantastic!
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!
That timestamp feels a bit mistimed :d
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
I can't tell if he's just moving the mouse cursor REALLY smoothly or its animated
Exactly what i was wondering
Same because the lines are always aligned as well
Im SO glad Im not the only one
It must be animated, right?
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.
The only problem with this video is that it ended
But the ending was great
I'm going to tell him to do a part 3
Saddest part
Hohoho
the cat pressed the outro button
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
These videos are a masterpiece. That explanation, music & visualization are something that all teachers must learn how to do.
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!
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!
Amazing amount of time 🙂😘 any way you can tell me the truth about us crises center Amen 💕🔙🙈💞 okey dokey doke Amen 🙏💞🙈💞😜🤣🤣🤣🤣
Ok correct 💯🫂💟
Just realizing the amount of gates that go into simple building blocks to store a couple of bits is mind-blowing.
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.
PLEASE CONTINUE THIS SERIES, IT'S INCREDIBLE
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!
It all went over my head ...but somehow i couldnt stop watching....love computing. Great work Sebastian
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
@@BusinessWolf1 ?
@@xeryus3357 ignore it, I'm deleting it idk why the fuck I wrote that
@@BusinessWolf1 lol aright
@Opecuted I'm okay with that :))
@Daphne Calin thanks!
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!
You practically taught me an entire subject from this semester in 19 minutes.
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!
Dude this series is AMAZING! It's remarkably informative and presented in an easy to comprehend manner. Please make more of these dude!
I'd absolutely love an episode 3 of this series, you've done an amazing job :)
that's literally what i studied for 1 semester in Electrical Engineering but much better explained. quality content !
Only 1? How lucky
you should really continue this series, this was a really great video!
This series is so good it's gonna be equivalent to a 1-day computer science degree
I am absolutely loving this series so far, 9 year old me would have been absolutely amazed at this!
26 year old me still wants to play with this for hours
This has got to be one of the best if not the best youtube channel I've found.
man I have been studying this at the university for 2 years and I didn't understand anything, you just clarified everything in 20 minutes 😢 . I will save this playlist for my children in the future. ❤
Sebastian League is so good at explaining things with visuals that I can understand what is happening and I am only 12 years old.
@champion mang nice! I'm 4 and just got my PhD in computer science
@@juliang9574 pff, get on my level grandpa. I'm 2 and I wrote this from the Summit supercomputer which I just hacked with a toaster
googoogaga I know everything
s A m E
I am only 2
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.
Was looking for this comment.
I know no one will see it, though Sabastian's videos have been a great inspiration to me. Watching him gives me so many ideas for projects. I have made my own Raymarcher, Erosion Simulation, Marching Cubes algorithm, ect. Thanks!
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
I was enrolled in computer logic design and the whole computer science program at the start of college. The logic was fascinating but the content itself way over my head at the time.
I switched my major to anthropology, but kept a career in I.T. and computer repair.
So now, 10 years later, I find myself so engaged in your videos and have a deeper understanding of these core concepts than was ever possible back in college. I legit want a bread board for myself - I've wanted to understand electricity since I first understood the computational scope of something as "simple" as a PC videogame.
Thank you for these lessons :)
A two-year course is more difficult coz it discusses advance topics! than a four-year trisem course..
6:00 Alternate title : how to make a redstone burnout clock
I'm actually following the tutorials along in Minecraft, which is pretty fun.
@@levb258 I actually thought about trying these in various games with logic systems to see how they work in them.
Profile picture checks out
Mc bedrock redstone : 7:03
a redstone burnout clock is actually a not gate linked into itself
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.
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
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"
I want to see someone make a 4 bit adder with redstone.
@@modernmajorgeneral4669 its really easy tho
@@modernmajorgeneral4669 It's already been done many times. People have even built whole 8 bit computers with redstone
I've been refreshing your channel every day since this came out waiting for part 3..! So excited!
I studied computer science at UC Berkeley and our professors never even explained this as well as you have. Huge pat on the back. Really reignited my passion for the subject
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.
Really hope you continue this, helps bridge the gap between hardware and low level programming very well
Wanted to share that my son (8yo, homeschooled) absolutely LOVED building his own gates with the simulator you released! He's particularly proud of a "pulsing, frequency modulator, with memory" circuit he built, just by playing around. We love all your videos, Sebastian, thank you so much for contributing to the commons!
(My son insists I describe the truth table for the circuit he's made:
0 0 | pulse pulse pulse
0 1 | antipulse pulse pulse
1 0 | 1 pls pls
1 1 | 1 0 0
)
who asked?
@@D1zZit Don't be such a prick.
@@D1zZit Me
@@D1zZit I did
@@D1zZit I asked
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
please continue this, this is my favorite series on your channel.
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
Coincidentally enough he actually makes a rather popular redstone circuit called an RSNor latch in the first 1/3 of the video
I have that same idea too
🤣
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 :(
@@EvelineFlowercrown ya adder is too wasy to build it only need xor gate and and gate
When it's the next episode?! You did an amazing job with the first 2 of the series! I'll be eagerly waiting
oi brasileiro aleatório
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..!
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.
Uh, I'll bite! What would happen in that last case?
@@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 RUclips, @Sebastian Lague obviously being one of them.
@@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.
3:35 brings me back to learning redstone like 10 years ago
That's just what I wanted! I hope somewhen we'll see the next episodes ;(
Good news!
Oh the memories! I had that same breadboard in 1990 in college. Loved working with these logic gates back in the day! Thank you for the time capsule!
Want more videos like how things work on fundamental level.
Check out Ben Eater on YT, he's got tons and tons of this stuff.
@@FunnelCakeRyan yeah mate! Thanks for your recomend. Those videos are great to clear my curiosity. 💝💝💝
one video that should be put in a time capsule
I am curious to see how far this series is going!
he will probably build a whole computer after this
Most underrated channel. Good work explaining the concepts. The voice is clear and easy to understand. Keep up the good work. 👏
Just imagine in the future someone takes your program and goes, “hey guys! I’ve made a functioning computer in this logic simulation.”
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.
I imagine this "someone" will be Sebastian himself at the end of this series.
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
Then he will program a logic simulation in that computer, and the cycle would continue
It feels like he's only 2 or 3 steps from that himself
i am still waiting for the next episode, it's been almost a year now
same dude
W h a t i f t h e y w a n t t o f o r g e t ?
you could add an and gate connected from each of the register data inputs to a button whose output is 'not'ed then connect that button (without a not) to the store input of the register
you then press the button to reset
basically it turns the inputs off and then immediately saves the nothing
Ok
@@apia46 ok now what if I want to forget?
never try to remember him/her again even just one bit,
if u do with os 64 bit, u get off light,
thats mean u fail...
They always ask to remember
Not why remember
I would binge watch an entire series like this.. PLEASE CONTINUE THIS SERIES, IT'S INCREDIBLE.
This series is great! I always wanted to learn about this somhow, but never really go into it properly despite being interested. You making all this so easy has really inspired me to learn this stuff properly!
Also, I have a tiny complaint. The digital logic simulator appears to be somewhat unoptimized. I left it running in the background and it began to lag my computer, though the CPU usage was still really low.
It'd be really cool if after using the abbreviations like NOR, AND etc, you show the expanded version of the program with no abbreviations, just to see how complex it would be if you were to construct it simply with wires and switches!
Awesome video, just a quick idea to to make the simulation more visual : turn the input and ouput pin red when the signal is on (true, high, etc) for that connector.
And maybe add some color to it because six unlabeled pins side by side is hard to read
This summed up the last 3 weeks of my college digital electronics class in 20 minutes. Absolutely fantastic.
Its 3 A.M. now I need to sleep, but this video is more Important!
Hours of tinkering around with redstone circuits in minecraft has made me understand this video well, and apparently it has also made me realize my early passion for computer science, despite me being a kid
Run with it, and use it for you advantage. The truth is high school knowledge doesn’t get you far, but it can give you great opportunity’s like finding good programs to learn from but really people excel at the things they are passionate to pursue, follow what you want to follow and pursue your dreams man!
U Damm wizard computer 💻🖥️💻🖥️ and Motorola computers connections and friends Amen 🙏💞🙈🤔🤔😲😲🥰🥰🤣😂🤣😂🤣🤣🤣🤣
Amazing amount of time Amen 💕🔙🙈🙈💞💰 OOO
When exactly is the next part coming where you're explaining RAM ?
I know I'm so excited to see it, I've been following along making all the parts in Dreams and its been very mind expanding
@@darowchdawg yo
ram technically is like a drive but it can't hold memory for a long time , example: I open a document in my document reader, the read stores the app itself and if I were to close the app, it will remove/reset the app and send it back to the main drive,
idk if this is 100% correct but its a theory I thought of
@@PrivacyNProgramming
What you said is 100% correct. That's why we call it Temporary memory somtimes :0 also another difference between a ram and a normal memory drive is that they are much, much faster "faster than a ssd by a lot".
@@pixeltochi4961 yes, a memory drive is much more faster than an ssd but there is another factor in play... HOW MUCH memory you have, you can't expect a computer with 4 Gb Ram to hold an ULTRA grafics game since it need more cpu and memory power and after all that memory is used up, your OS will probably crash since there is no more memory to run important processes
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
oh my god the kitti's lil pap pap at the circuitry was adorable!!!!
Will this ever be continued? I love how digestible it is
I hope this :(
This definitely did not cover a whole Semester of Computer Science (at least in my case, other comments say different things). Though the worth of this video is enormous. I already knew everything that was covered and it still felt like i've learned something. Just because of the simple and beautiful way of presentation
Every time you upload, i know its gonna be interesting and entertaining
Edit: I was not disappointed :D
This was a really great way to prepare myself for a class without going through aaaaall the previous notes i made, amazing video!
Might be the video i was looking for from years although a little difficult to understand .
Pretty amazing how humans have figured this out from this relatively primitive computing, to being able to play AAA games with ray tracing in 4k. I wonder if there is a limit to technological progress if we were to able to keep our civilization going.
"Any sufficiently advanced technology is indistinguishable from magic.
"
The way he presents and explains it makes it even feel like some natural phenomenon that humans only discovered but didn't invent. But we did, indeed, invent this stuff. Sure, not quite as impressive as the human brain, but we sure are on our way creating that from scratch, too.
The next step is using the fabric of space and time to compute our information (quantum) Sadly we once controlled the machines but soon the machines will control us.
@@elknackebroto7447 I totally agree. Trillions of transistors fit in the area of a fingernail...
From what I understand, there's no limit at all. Aside from software which can be a big bottleneck (java)
18:56 kitty is like "No, Sebastian, that's not how you do it. Look at this wire. You've connected it the wrong way"
The cat is so smart