The Most Successful Idea in Computer Science

  Рет қаралды 65,732

Core Dumped

Core Dumped

Күн бұрын

Пікірлер
@griffenmorrison2560
@griffenmorrison2560 2 ай бұрын
Getting this compliment in early in hopes you see it before it gets buried. Your videos have demystified the fundamental parts of computers I had thought I wasnt smart enough to understand. You have given me the confidence to feel like I can tackle any computer challenge I come across. I ravenously wait for your next video after each one is released. Thank you!
@hard.nurtai4209
@hard.nurtai4209 2 ай бұрын
yeah he really is influential
@levipalait683
@levipalait683 2 ай бұрын
Same here
@SweepAndZone
@SweepAndZone 2 ай бұрын
He's amazing. A good human
@VideosViraisVirais-dc7nx
@VideosViraisVirais-dc7nx 2 ай бұрын
Omg 😮 This Guy is German.
@u_u_u_2921
@u_u_u_2921 6 күн бұрын
I think the key reason for the ease of explanation is a real understanding. If one can't explain something in simple words one just really understands the topic.
@IngPleb
@IngPleb 2 ай бұрын
Once again, the production and educational quality are absolutely marvelous! Even though I’ve already read about many of these things, the visuals always solidify my knowledge and somehow excite me because I get to live in this wonderful era of computing. Please keep it up.
@CoreDumpped
@CoreDumpped 2 ай бұрын
Will do! Thanks for the support!
@jaison9
@jaison9 2 ай бұрын
​@@CoreDumppedwhere are you from? Please keep the brilliant work
@eduimaji
@eduimaji 2 ай бұрын
@@CoreDumpped i stack with the "cache mapping" especially the h/w implementation. could you explain it, please? thanks.
@MathCuriousity
@MathCuriousity 2 ай бұрын
@@CoreDumpped hope you do a video accessible to noobs like me concerning what an API is (focusing on non-web apis)
@bodycowlin
@bodycowlin 2 ай бұрын
I hardly ever comment on anything, but the quality here is insane. Not just the graphical quality either, the quality and accessibility of the information blows my mind. Like others have said you are a wizard at demystifying the concepts you explain. I come from a mechanical engineering background but feel as though even I can grasp these concepts now. Keep up the good work! You've made a lifelong fan here.
@gabrielbonfim1
@gabrielbonfim1 2 ай бұрын
Man, I recentely commented the same thing as you, I never comment on youtube videos, but this guy is simply extraordinary, I had to share the video with everyone I know. It just blows my mind how can someone teach something so clearly.
@AlgoRhythmsWithAyush
@AlgoRhythmsWithAyush 2 ай бұрын
This is truly amazing, as a low level enthusiast, I now know what processes really look like at the low level, you really explained the concepts in one of the most beginner friendly ways possible. Keep going George! looking forward for the next episode.
@fooBarFalan
@fooBarFalan 2 ай бұрын
I wish these videos existed back when I was taking OS course. Simply amazing.
@_dnL
@_dnL Ай бұрын
yea me too
@MyMax1919
@MyMax1919 2 ай бұрын
The Linux scheduler code part was neat, I would love to see more real-world code snippets in future videos!
@_dnL
@_dnL Ай бұрын
yes, love real world examples :D
@MukundNivas
@MukundNivas 2 ай бұрын
I really enjoyed watching this! Thank you for making this. I would love to do some additional reading on this, would it be possible to reference books/articles that you referenced through while making this video? Thanks man.
@CoreDumpped
@CoreDumpped 2 ай бұрын
For Operating Systems theory: "Operating System Concepts" by Silverschatz. For low-level stuff in general: "Computer systems a programmer's perspective" by Bryant, O'Hallaron.
@EduardoTardinCosta
@EduardoTardinCosta 2 ай бұрын
Well done! My suggestion: after your video about threads, a video about forks and pipes to explain how process "talk" to each other.
@Piyush-bm6ho
@Piyush-bm6ho 2 ай бұрын
@CoreDumpped your creations are excellent. I'm waiting for video of Virtual memory, mapping of virtual memory to physical memory, pages, page tables,TLB. Please make it proper descriptive take your time and make us understand it crystal clear.
@moyoloco09
@moyoloco09 2 ай бұрын
I'm currently taking an OS subject at university, and oh my god, what a perfect timing. Your videos are really helping me to better understand theory around the subject. Nice video, I'll be waiting for next!
@shyamkawadkar693
@shyamkawadkar693 2 ай бұрын
your work is truly amazing but if possible share some of the resources is description section so that viewer who is interested could understand it more clearly. thank you for amazing content
@MrSomethingdark
@MrSomethingdark 2 ай бұрын
Best video on modern digital computing on the whole wide web. Thanks a lot Core Dumped.
@nesa6582
@nesa6582 2 ай бұрын
And whats crazy, it is free.
@martingeorgiev999
@martingeorgiev999 2 ай бұрын
14:10 I am not sure about the memory limits part. Each process works in a virtual address space so when it wants to fetch anything from it the MMU just translates it to the physical address or produces an exception/interrupt if there is no current mapping for the accessed address (or if the process does not have permissions to access the mapping). Now, to access the memory of another process as in the example, the OS should have mapped that memory previously and this can be achieved solely through system calls. If the OS works correctly it should never allow a process to map any resource that's beyond the process' privileges. Another note, the 1:07 image is a bit incomplete, usually half of the virtual address space of a process is kernel space where kernel code is mapped (obviously when the process is running in user mode it can't access the kernel mappings).
@CoreDumpped
@CoreDumpped 2 ай бұрын
Yeah, explaining this would have make the video 30 minutes longer. So I tend to oversimplify some concepts.
@handlewithoutsuitcase
@handlewithoutsuitcase 2 ай бұрын
Thanks to all the team working on this! Well done!
@araara967
@araara967 5 күн бұрын
my god this has got to be the most comprehensive explanation of processes I've ever seen. kudos to you buddy!
@ВладФоменко-р4е
@ВладФоменко-р4е 2 ай бұрын
The explanation is... brilliant!) Ever wondered what those registers are, now I understand that this is just a cpu space to load data from memory for execution. Thank you so much!
@ivankudinov4153
@ivankudinov4153 26 күн бұрын
amazing work: thorough accessible explanations of truly important stuff and curated set of continuous themes. I hope you'd continue this channel in the same fashion. Have to mention the editing it's superb
@aitanapalomanespardos7089
@aitanapalomanespardos7089 2 ай бұрын
Wonderful video! The part where you show files as something that is not part of the program but the process has helped me better understand the question I asked you in the previous video (I had thought the file was part of the data section, so I had thought that if the data section was different, they were different programs). Thank you for making these videos, you tackle most of the questions the viewer might get visually and in detail. Looking forward to more videos from you!
@abhinavachha7922
@abhinavachha7922 2 ай бұрын
Thanks!
@artyomtimiriazev2070
@artyomtimiriazev2070 2 ай бұрын
I love your videos. I've finished university a few years ago and some concepts started to fade away from my mind but your videos are not only a perfect refresher but also add some new and interesting information. And so well produced. I do hope you keep getting more and more sponsorships
@SayedAli-gq8bl
@SayedAli-gq8bl 2 ай бұрын
Hey George. Your videos are incredibly satisfying to watch. They let me follow your train of thought both visually and by listening to your well-articulated words. I get multiple "aha" moments in each video. I'm sure tons of work goes into creating each one, so I hope you can keep it up.
@tech_simpleterms
@tech_simpleterms 2 ай бұрын
The way the explanation is taking place from the beginning to end really marvelous. Eagerly waiting for the next episode.
@Merilix2
@Merilix2 28 күн бұрын
I remember, in the late 80's there was a Modula2 compiler for MSDOS including the source code for the PROCESS module and the source for an timer interrupt handler (written in M2) acting as scheduler for the process queue. That was quite useful to understand how multitasking works under the hood and what issues need to be solved when synchronization between processes becomes important . Unfortunately I don't remember what exact M2 version that was.
@adamboyd348
@adamboyd348 2 ай бұрын
This is unbelievably good!! This is exactly what I want to learn as a junior software engineer who lacks a computer science degree. Said by a few others in the comments, there is a big interest in this content. Thank you.
@barryallen5243
@barryallen5243 2 ай бұрын
Thanks for the brilliant video once again. On another note, what does ARC represent here. ARC vec
@CoreDumpped
@CoreDumpped 2 ай бұрын
Arc stands for Atomic Reference Count
@aenguswright7336
@aenguswright7336 Ай бұрын
Arc is required to safely share data between threads in rust as it keeps a record of how many processes rely on it.
@priyank_panchal
@priyank_panchal 2 ай бұрын
I'm totally addicted to your videos. I'm always eagerly anticipating the next one. Your content on OS fundamentals is fantastic. Keep up the great work.🎉
@tratmir
@tratmir 2 ай бұрын
Literally love this channel! Personally I can't imagine the amount of work that goes into animating and editing all of this. Please keep it up!
@DemonAspicious
@DemonAspicious 2 ай бұрын
I don't usually coment on any video, but this channel has something different. You explain these low level concepts in a way no one else does. The clarity of the explanations is astonishing. Keep going, you're doing a great job! I can't wait to see your next videos!
@by010
@by010 2 ай бұрын
As per usual, great video.Please keep it up. One thing Im left wondering about is how the context copy scheme works. That procedure must use some logic, and things like registers need to be preserved without modification, right? Is there some kind of hardware acceleration or assistance for this in modern CPUs, or is it handled in another way? I’d love to hear more details on that. One of the things I love about your channel is how you build out every topic so exhaustively, leaving almost no room for questions. I think it's first real one I have. What you’re creating is seriously exceptional quality. Thanks for the upload!
@CoreDumpped
@CoreDumpped 2 ай бұрын
Two examples: -Use of Registers Sets: The operating system uses its own set of registers so while performing the Context-Switch it doesn't overwrite the state of the interrupted process. -Every time an interruption is fired, the CPU automatically copies the content of ALL the registers to a hardcoded memory location. So, yeah, hardware support is needed. Again, these are just two examples; there are more ways to handle the problem you described. Ultimately, whatever method is used depends on the CPU architecture.
@by010
@by010 2 ай бұрын
@@CoreDumpped Okay, that makes sense. Thank you!
@jeffersonwu952
@jeffersonwu952 2 ай бұрын
I have watched every video that you have made here, and I just want you to know they are extremely well done! Thank you so much! You are definitely making an impact to the world of learning :) PS: if videos like these are used in college, professors can probably skip the lecturing part and just do Question and Answer.
@ryan_chew97
@ryan_chew97 2 ай бұрын
Bro keep making low level videos these visuals aren’t found any where else. You’re gonna blow up in subs there’s a huge market for this.
@cofrante6560
@cofrante6560 2 ай бұрын
George, your videos are absolutely perfect, easy to follow, well animated. I can't explain how grateful i am with your content. Keep it up!
@amj864
@amj864 2 ай бұрын
By the time you finish this series, these should be taught in unis. Great work.
@deezydoezeet
@deezydoezeet 2 ай бұрын
Oh my goodness, I could like the video a thousand times over. The Process Control Block has been the missing piece for me all this while. This is such a great resource
@balram8223
@balram8223 22 күн бұрын
i learn from you 100000X more then my university has ever taught me keep up this work and please try to upload more frequently
@Ajstyle45
@Ajstyle45 21 күн бұрын
wwoww.....This is arguably the best explanation for such complex concept. hats off!
@crystal93pl
@crystal93pl 2 ай бұрын
They should show this video in IT department classes. The visualizations are incredibly fascinating. I recommend your videos to other developers. I can see that they are starting to understand more.
@AnantaAkash.Podder
@AnantaAkash.Podder 2 ай бұрын
Following you for almost more than 6 months+... You truly are Criminally Underrated KZbinr... Even after Subscribing I am Not getting your Videos Update... I have to manually Come here to see if any New Video is being Uploaded.
@NoahSteckley
@NoahSteckley 2 ай бұрын
Love that the code representations are in Rust. It’s such a clear matter-of-fact expressive language
@luisalves9738
@luisalves9738 2 ай бұрын
Loved the production! What a fantastic channel 👌👌
@ckpioo
@ckpioo 2 ай бұрын
woah this was extremely easy to follow, and thank you for using rust for the example code, I think rust is the best language to show examples for such concepts
@hackytech7494
@hackytech7494 2 ай бұрын
Thank you so much for this wonderful amazing explanation. Eagerly waiting for CPU scheduling video.
@reeshabhchoudhary5112
@reeshabhchoudhary5112 2 ай бұрын
Core Dumped is one channel which I made sure, I visited regularly while researching and writing my book.
@reylui0250
@reylui0250 2 ай бұрын
i have an exam this friday about processes, os, threads and cpu scheduling... i need your videos more than water
@aaliboyev
@aaliboyev 2 ай бұрын
Absolutely amazing content, thank you! BTW what animation tools you use for creating animations like this?
@CoreDumpped
@CoreDumpped 2 ай бұрын
Everything you see on my videos is PowerPoint slides.
@charlesbabbage6786
@charlesbabbage6786 2 ай бұрын
@@CoreDumpped Respect! 👍
@Adhithya2003
@Adhithya2003 2 ай бұрын
@@CoreDumpped WHAT!!? Awesome, I thought you custom made your own animation framework (like manim python). I guess I grossly understimated powerpoint 😅
@skilz8098
@skilz8098 2 ай бұрын
For those who aren't aware, the Power Point application is Turing Complete. Someone has actually made a basic general-purpose CPU with its slides and transitions states. Power Point is very flexible and powerful!
@trantuan6828
@trantuan6828 Ай бұрын
This is the most amazing video I have ever seen! I will always support you in your future content creation on KZbin. Thanks a lot Core Dumped
@mmmm123456780
@mmmm123456780 2 ай бұрын
Great video! It just misses one thing. I think you should mention that the OS itself also is something that is executed by the CPU, so simply claiming that it manages a context switch doesn't really explain how it works. Therefore I hope that you plan some video about interrupts.
@tornado3007
@tornado3007 2 ай бұрын
i always love your videos the animations are very well done and you explain it in detail without overwhelming. please keep this series going i already learned a lot < 3
@glaisonpassos3775
@glaisonpassos3775 2 ай бұрын
Jorge, seus vídeos são excelentes! Muito obrigado pelo trabalho formidável.
@roadrunner3563
@roadrunner3563 2 ай бұрын
Terminology varies over time and by operating system. At least one older OS refers to an executing program unit as a process (program vs process virtually synonymous). It didn't specifically have "threads" but could perform some types of asynchronous operations within a program/process and "enter-process" (enter-program) communication was via shared memory DMA (usually extremely fast ECL) or other bus interfaces.
@ManojKrVerma-vw4dx
@ManojKrVerma-vw4dx 2 ай бұрын
What app do you use to make these animations ?
@Colaholiker
@Colaholiker 2 ай бұрын
I was curious about the same
@SetKat-Alex
@SetKat-Alex 2 ай бұрын
From another comment, it's PowerPoint!
@Colaholiker
@Colaholiker 2 ай бұрын
@@SetKat-Alex 🤯! That is amazing. I personally find it (and the entire Microsoft Office product family for that matter) so not user friendly,thst I prefer Libre Office I didn't even know that this is possible in what I always call "the game managers can play at work".
@thefanboy3285
@thefanboy3285 2 ай бұрын
@@Colaholiker The MSOffice suite is HELLA powerful ! Unfortunately, it came from a time when UI/UX designers didn't exist yet and because of legacy teachings, the layout can't really adapt to modern principles. So it got just more and more powerful and also more messy. But I can guarantee you, these things are fking powerful. Someone even used Excel as a game engine because it can simulate (albeit a bit slow) 3d renders and 2d renders also.
@Colaholiker
@Colaholiker 2 ай бұрын
@@thefanboy3285 I have to disagree when it comes to UI design. My last MSOffice that I used personally was Office 97. Great UI. Menus well thought out and it made sense. Than some drunk lobster at Microsoft invented the "ribbons" and things went downhill from there. These things rearrange all the time, you don't find what you are looking for, they are terrible for keyboard-focused users... I don't doubt that the programs are powerful. But they are just terrible to use. And the Windows 10 theme that flattened all control elements, where you can't tell a button from a label, especially in dark mode, made it even worse...
@davevann9795
@davevann9795 2 ай бұрын
Each component of a computer is functionally very simple. They only appear complex because humans try to do complex things with these simple functional units, and therefore have to combine many layers of many simple functional units, interacting in many ways.
@oglothenerd
@oglothenerd 2 ай бұрын
Lookin' forward to the one about the MMU.
@charlesbabbage6786
@charlesbabbage6786 2 ай бұрын
Absolutely in love with these videos!! Very clear explanations. Keep em coming! 👏👏
@Gigasharik5
@Gigasharik5 2 ай бұрын
Bro your channel is hidden gem
@randomsearches369
@randomsearches369 2 ай бұрын
I have never been hooked on such a complex topic
@FossWolf
@FossWolf 2 ай бұрын
This is some really awesome work buddy ❤ Keep up the good work 🙌
@mikeowino8732
@mikeowino8732 Ай бұрын
I did OS during covid, and I passed even without knowing what a process is. Just crammed for the whole exam. Great visuals, now I am understanding
@JaredFarrer
@JaredFarrer Ай бұрын
Great channel find! Great job dude.
@sacate5413
@sacate5413 2 ай бұрын
Hey core dumped, i really enjoy your series of providing better understanding of low-level concept. I also like the animation style, may i ask what software you use to do these animations?
@ncsham9103
@ncsham9103 2 ай бұрын
I don’t know how to commend you man, the videos are just damn good and crystal clear. Thanks so much for demystifying!
@chainleang5313
@chainleang5313 15 күн бұрын
wonderful works,thanks for sharing
@Andrew90046zero
@Andrew90046zero 2 ай бұрын
I was hoping the video would've gotten into how many instructions done computed before a process is switched, or just how the scheduling is done. But I can't wait to watch the next video that goes into that.
@justcurious1940
@justcurious1940 25 күн бұрын
The Operating system can't do this without hardware support, for switching between processes the CPU has a feature called timer interrupt, and to protect processes from each other there is a special hardware called MMU(Memory manager unit).
@jeremymcadams7743
@jeremymcadams7743 2 ай бұрын
Where is the cpu state being stored? Is the capturing of the cpu state something that is stored in heap memory? Or some special memory location? Edit: I should have waited longer before asking the question
@CoreDumpped
@CoreDumpped 2 ай бұрын
I guess the real question is: where is that structure (PCB) stored? Does the OS have a stack and a heap? Interesting topic for a future episode😉
@jeremymcadams7743
@jeremymcadams7743 2 ай бұрын
@CoreDumpped That is an interesting question. The stack is normally restricted in size by the OS, but the OS makes the rules, so I guess it could hypothetically run solely on a very large stack, but it would seem useful to save user process cpu snapshots on the heap external to the stack since you have a dynamic number of processes being generated and terminated.
@xOWSLA
@xOWSLA 2 ай бұрын
@@CoreDumppedcannot wait to watch!
@ltecheroffical
@ltecheroffical 2 ай бұрын
@@CoreDumpped I noticed you have a double p in your handle. But it's most likely too late to change it.
@SweepAndZone
@SweepAndZone 2 ай бұрын
​@@ltecherofficalyou think he doesn't know that brother 😂😂❤❤
@Dr10na1995
@Dr10na1995 2 ай бұрын
Your videos are amazing! So clear and interesting!
@imadhamaidi
@imadhamaidi 2 ай бұрын
Your channel is a hidden treasure! Keep up the good work! I wonder if you are interested in covering virtualization topics in the future like Popek and Goldberg requirements.
@lkiller4788
@lkiller4788 2 ай бұрын
Great video as always! I want you to explain how the snapshot of the CPU gets done in low level in a future episode
@kraller7
@kraller7 2 ай бұрын
amazing man as always this content is pure pure gold
@Griffin12536
@Griffin12536 2 ай бұрын
I’d love to know how hyper threading deals with all this. I read that it “exposes” 2 contexts to the core but my understanding just can’t fit the puzzle piece. Shoving another dependency chain into the execution unit is straight forward, but what about the non-general purpose registers? Does each core have 2 PCs and SPs and etc.? Can you context switch one without the other or are they switched out together?
@olhoTron
@olhoTron 2 ай бұрын
For the operating system they are just 2 independent CPUs with their own set of independent registers what really happens inside the physical core.... who knows?
@skilz8098
@skilz8098 2 ай бұрын
The overview of a process being context switch is very good and all and the mentioning of the scheduler is nice, however, I noticed that there was no mention of or lack thereof of what is typically called an Activation Record(s) within computer science either it being software or hardware engineering. I think this ought to be mentioned and well explained as well as I feel or believe that it is related, relevant within the context of this topic or material. Other than that, excellent video, great material.
@ArthurSchoppenweghauer
@ArthurSchoppenweghauer 2 ай бұрын
This was AI generated so don't expect correct answers.
@skilz8098
@skilz8098 2 ай бұрын
@@ArthurSchoppenweghauer Possibly.
@CoreDumpped
@CoreDumpped 2 ай бұрын
Activation Records are stored in the Stack, and the Stack was in deed mentioned. I even specified that, during execution, programs need memory space to save temporary results. A lot information omitted, I know. But it's very difficult to put so much information into a 15 minute video.
@skilz8098
@skilz8098 2 ай бұрын
@@CoreDumpped True. So perhaps it was in an older video leading into this one. It's just that the association of it within the context of process space was kind of left out.
@MathCuriousity
@MathCuriousity 2 ай бұрын
Please do a video on “NON-WEB API’s”. I would love to learn about API’s (the non web ones) as well as kernel level and user level! Please do an incredible 30 min video on this!!!!❤❤❤❤❤
@SirusStarTV
@SirusStarTV 2 ай бұрын
@nirlichtman have some good stuff about win api
@MathCuriousity
@MathCuriousity 2 ай бұрын
@@SirusStarTV where? Can you add link?
@DracoIgnem
@DracoIgnem 2 ай бұрын
Another Great Video with Great Animation. Thank You for your work !!
@prajwals8203
@prajwals8203 2 ай бұрын
Thanks for vid.....I think some part of what you cover is from "Operating System Concepts" book And luckily that's our textbook ....so this helps in exam prep
@siwoopark2898
@siwoopark2898 2 ай бұрын
Sir, you will be recognized someday, at least 1M sub. Please keep up these great work!
@viktornikolov1570
@viktornikolov1570 2 ай бұрын
Your videos are gold. Are there any resources you can share for further reading?
@a.v7998
@a.v7998 2 ай бұрын
Amazing video! Learning these low-level concepts is so fascinating!
@Shahikulariyan
@Shahikulariyan 2 ай бұрын
you are a awesome teacher in my life i have ever seen 🥰🥰🥰
@badtrevor773
@badtrevor773 2 ай бұрын
I watched your video about how transistors remember data, and I found it brilliant, your explanation was excellent. I would like to make a request: if possible, please dub your videos with AI (or however you prefer) to reach more people. I watched your video using an Opera extension to read the automatically generated subtitles. I am Brazilian and only speak Portuguese, my native language. I believe it would be very beneficial for you and for those who enjoy this kind of content if it were more widely shared. Your videos deserve to spread worldwide and reach as many people as possible. If you can't or don't want to do it yourself, I would like to ask for your permission to dub your videos with AI and post them (I won't monetize the content, nor do I have a subscription, I'll just make a "gambiarra" haha) giving you full credit. That's all. I loved your video and wish you all the best and much success. Congratulations on the excellent work and the care you put into your content.
@code-monet9468
@code-monet9468 Ай бұрын
The references to ThePrimeagen are genius
@sharathkumar8338
@sharathkumar8338 2 ай бұрын
Please make a video on threads next.
@FLAMESpl
@FLAMESpl Ай бұрын
Isn't accessing memory every context switch extremely slow? Is there a solution in cpu hardware to keep separate cache for contexts that won't be replaced by user space memory when process accesses various regions of it?
@furkanvural4384
@furkanvural4384 Ай бұрын
Your explanation is insane .keep going
@GeoffryGifari
@GeoffryGifari 2 ай бұрын
Are there special addresses in the memory for storing the "snapshots" of the CPU state? Can these be overwritten by something else?
@GeoffryGifari
@GeoffryGifari 2 ай бұрын
Oh and is there a limit to how many CPU state snapshots (corresponding to the number of processes) can be stored at a given moment?
@SirusStarTV
@SirusStarTV 2 ай бұрын
OS kernel code have entire RAM into its possession, it can store whatever data wherever it wants (not touching processes address spaces).
@CocolinoFan
@CocolinoFan Ай бұрын
Do you have a video explaining how Segmentation Fault (Core Dumped) happens?
@CocolinoFan
@CocolinoFan Ай бұрын
13:50 Ah, I see. Very cool.
@MasterGxt
@MasterGxt 2 ай бұрын
Love how Core Dumped uses Rust for psuedo code
@abdeljalilelmajjodi4954
@abdeljalilelmajjodi4954 2 ай бұрын
Ammazziiiing , Thank you very much
@Holsp
@Holsp 2 ай бұрын
Where is that snapshot stored? In the cache?
@milosmandic6129
@milosmandic6129 2 ай бұрын
Great video man. Where is the PCB stored? Is it in the heap of the process or is ist stored in the OS memory?
@adityav7020
@adityav7020 2 ай бұрын
Thank you for this video CoreDumped
@vitobrusnik6953
@vitobrusnik6953 Ай бұрын
High quality content. Well done.
@spaghettiking653
@spaghettiking653 2 ай бұрын
Thanks, I just have one question: when the OS starts executing some other program, how does it ever get back out? E.g., if the OS hops into a part of an entirely separate process, and changes the program counter to point to that program instead, how does it regain control and switch back to its own execution?
@CoreDumpped
@CoreDumpped 2 ай бұрын
I explained this on my video about concurrency. There are two ways: -System calls: The process itself calls the OS when requesting some resource. -Timer interruptions: Right before allocating the CPU to the "next" process, the OS uses an special instructions to set a hardware timer. The process might still return control to the OS via a system call, but if it doesn't, once the timer expires it will trigger an hardware interruption that makes the CPU jump to the OS executable code.
@ShinSpiegel
@ShinSpiegel 2 ай бұрын
Amazing video, super educational. Thanks for sharing.
@coding_diari
@coding_diari 2 ай бұрын
Can you share the link to the Linux kernel repo?
@letsgetrusty
@letsgetrusty 2 ай бұрын
Peak CS content 🔥
@whtiequillBj
@whtiequillBj 2 ай бұрын
do you have a video explaining IPC (inter-process communication) in the queue?
@CoreDumpped
@CoreDumpped 2 ай бұрын
I do
@thisisnotok2100
@thisisnotok2100 2 ай бұрын
Can you do a video about how in process threads split their scheduling? Such as tokio for rust
@CoreDumpped
@CoreDumpped 2 ай бұрын
Async runtimes like tokio, require implementing a very complex task scheduler, pretty similar to an OS-level CPU scheduler. So I guess my video about CPU-scheduling will answer a lot of questions. I've also been thinking on recording a video exclusively about how async-rust works, but is not a priority.
@filipniklas
@filipniklas 2 ай бұрын
Great video! But doesn't the OS itself also need to be run on the CPU? The context switching must require processing as well, right? How would the whole thing be juggled then?
@CoreDumpped
@CoreDumpped 2 ай бұрын
I was waiting for this question😄 I'll cover this soon in an episode. But the short answer is: Hardware support. Operating systems have access to Privilege Instructions that User Programs don't. The problem can be addressed by: Using multiple sets of registers, so when the OS is invoke it uses its own register set to operate, hence not altering the state of the interrupted process. Another way can be a Privilege Instruction that copies (in one go) the content of ALL the registers into a specific memory location whenever an interruption is fired. These are only two examples, I'm pretty sure there are more ways to do it.
@filipniklas
@filipniklas 2 ай бұрын
​@@CoreDumppedappreciate the reply! Yes, this makes sense. I look forward to the episode on this 😃
@kaviarasan8249
@kaviarasan8249 9 күн бұрын
Thanks ❤ this is pure gold
@sshrek1996
@sshrek1996 2 ай бұрын
Hello! This is absolutely amazing work. Computer Architecture fundamentals in its easiest form. Can you please suggest any books on microprocessors and computer architecture?
CONCURRENCY IS NOT WHAT YOU THINK
16:59
Core Dumped
Рет қаралды 123 М.
i dove down the 7zip rabbit hole (extremely deep)
12:50
Low Level
Рет қаралды 413 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 283 М.
2024's Biggest Breakthroughs in Math
15:13
Quanta Magazine
Рет қаралды 443 М.
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 327 М.
Coding Adventure: Rendering Fluids
58:41
Sebastian Lague
Рет қаралды 477 М.
Reverse engineering Microsoft BASIC
26:51
Ben Eater
Рет қаралды 94 М.
Creating Your Own Programming Language - Computerphile
21:15
Computerphile
Рет қаралды 192 М.
Crafting executables from raw bytes
26:43
Kay Lack
Рет қаралды 35 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 141 М.