Operating System Basics

Поделиться
HTML-код
  • Опубликовано: 9 окт 2013
  • Essential concepts of operating systems. Part of a larger series teaching programming. Visit codeschool.org

Комментарии • 256

  • @Euquila
    @Euquila 5 лет назад +1105

    If a CPU had a voice, this is it.

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj 4 года назад +1

      We need a Mr.Data Text-to-speech lol :D

    • @m.a.156
      @m.a.156 4 года назад +22

      He has a good voice, it's clear and easy to listen to.

    • @blinded6502
      @blinded6502 4 года назад +21

      And GPU would be his wife.

    • @margaritashamrakov
      @margaritashamrakov 3 года назад +7

      That is a great comment

    • @appledoes6304
      @appledoes6304 3 года назад +3

      **he sounds like technoblade**

  • @AndriyLinnyk
    @AndriyLinnyk 9 лет назад +107

    that is the best voice from tutorials I ever heard.

  • @briantwill
    @briantwill  10 лет назад +147

    Oops. At around 20:00, I say that, within a directory, you can have both a file and directory of the same name, e.g. a file named foo and a directory named foo. This is wrong: every file/directory name must be unique within the containing directory.

    • @PENDANTturnips
      @PENDANTturnips 10 лет назад +17

      God damn I love your videos, but one thing I have to criticize is that sometimes you talk too fast.

    • @Abdullah-mg5zl
      @Abdullah-mg5zl 9 лет назад +20

      PENDANTturnips I agree. He chooses his words very carefully to pack a lot of information into a single sentence. I have to pause once in a while to absorb what he says, you could try that out :)

    • @VenturaPiano
      @VenturaPiano 8 лет назад +35

      +Brian I like the speed at which you explain things. I'm sick of videos that have little information and worse of all repeat the exact same things over and over again. Sure sometimes instructors talk too fast, but I prefer informative versus redundant.

    • @rowanjugernauth5519
      @rowanjugernauth5519 6 лет назад

      Brian Will Thank you. Thank you, thank you, thank you! Very informational. Very detailed, very in depth yet quite understandable. I loved it.

    • @ahmadsaeedkhattak20
      @ahmadsaeedkhattak20 5 лет назад +1

      I think this video is perfect for preparing half a semester of an operating system course. Thank you, Sir.

  • @shayangzang900
    @shayangzang900 7 лет назад +46

    This is THE best OS intro I found so far in youtube.

  • @Oneworld87
    @Oneworld87 9 лет назад +298

    Deep voice is deep.

  • @kokorodokoro
    @kokorodokoro 6 лет назад +5

    These are fantastic. Clear explanation, dense yet succinct and non-redundant. I am taking notes and rewatching. Finally the mystery of the computer is starting to disentagle!

  • @lukegriffiths4333
    @lukegriffiths4333 8 лет назад +15

    Brian these videos are great. I've just discovered your channel and I hope I end up watching them all. It's good to have a theoretical understanding of the things that underlie my own work which is coding in a scripting language. Keep 'em coming!

  • @voilin
    @voilin 3 года назад +1

    I love this video. I turn it on from time to time just to hear his voice and refresh my knowledge. Thanks Brian

  • @kamoroso94
    @kamoroso94 8 лет назад +63

    I had my final today in an Operating Systems class and all of this stuff would've been so useful to see earlier. When I watched this, I was able to follow very well. It was nice to see the order you presented everything, it had a nice flow to it :3

  • @Verses01
    @Verses01 7 лет назад +10

    When this video started out, I thought it was going to be a sleeping pill. I was wrong, I have a LOT more confidence in what an operating system is and the components of. Thank you, Mr. Will.

  • @odytrice
    @odytrice 8 лет назад +17

    Hey Brian, Just seeing this video and I have to say, there is a need for more content like this. Most high level developers don't understand some of these fundamentals and its really important

  • @podmus3307
    @podmus3307 4 года назад +10

    This and Hardware basics are the only things you need to see to know how computers work. I learned this all at university but often I missed forest for the trees. These series rounded all the things in my head nicely. I think I'll have to watch every single video on this channel.

    • @mrb180
      @mrb180 4 месяца назад

      don't listen to this guy, this video doesn't even summarily scratch the surface of the subject.

    • @SharkOutOfAir
      @SharkOutOfAir Месяц назад

      @@mrb180don’t listen to this guy, this comment doesn’t even summarily scratch the surface of intelligence

  • @WindyHellLetsLoose
    @WindyHellLetsLoose 4 года назад

    It’s a really really enjoyable thing to listen to your voice. I mean, the tone and fluency of your voice exaggerate the effect of my study. Thank you!

  • @samrrocks
    @samrrocks 4 года назад

    A complete refresher on Operating Systems. Took me back to college days!

  • @mankindspatience
    @mankindspatience 2 года назад

    My eyes were begging me to let them rest, but I had to finish the video. Unreal clarity in your explanations! Most would need 1h to do the same.

  • @glueee2621
    @glueee2621 7 лет назад +7

    Best CS video on the Internet. Period.

  • @lukegriffiths4333
    @lukegriffiths4333 8 лет назад +71

    If you change the speed to 0.5, it gives the illusion that Brian sounds drunk! Great videos Brian, thanks!

  • @Skellingtor
    @Skellingtor 4 года назад

    A great, condensed and clear summary. Thanks Brian

  • @tomerlevi8598
    @tomerlevi8598 6 лет назад +3

    It feels like I'm connected through the matrix and your voice is like Morpheus injecting information into my head
    I like it, subscribed.
    thanks champ.

  • @mr.cobalt6695
    @mr.cobalt6695 4 года назад +4

    This man actually sounds like he knows what he is talking about
    Unlike most random OSdev tutorials on RUclips

    • @Artaxerxes.
      @Artaxerxes. 3 года назад

      I agree. Its rare to find people with expertise that make such videos. Him, Ben Eater, and 3B1B are the smartest and most knowledgable when it comes to math and computer science in general

  • @CanMetan
    @CanMetan 7 лет назад +3

    You've explained everything pretty well.
    Thank you for the video.

  • @mariusc6882
    @mariusc6882 8 лет назад +5

    Excellent presentation of OS Basics. Thank you!

  • @jonathansera6134
    @jonathansera6134 3 года назад

    Awesome video, just as informative as any college lecture. Thanks for making!

  • @coding3438
    @coding3438 2 года назад

    What a fantastic video. I’ll have to make a point though. Although this video says basics, it’s not for beginners. It’s for those who already know most of these concepts, although not clearly and thoroughly, and can use this video as a guide to strengthen basic concepts.
    Once again, fantastic video!

  • @studioussoul2303
    @studioussoul2303 5 лет назад +1

    This is great, well presented and the voice was perfect for me to follow.

  • @thomascarlsen8097
    @thomascarlsen8097 4 года назад

    Bruh... Your videos are SO informative ! Really love them!

  • @CRadiusOfficial
    @CRadiusOfficial 8 лет назад

    Great video. One of the best I've watched. Thank you.

  • @Gockalafina
    @Gockalafina 7 лет назад +4

    wow thanks this really helped my find out whether to get a Manuel or auto transmission in my new ute.

  • @pengyuanchen3080
    @pengyuanchen3080 4 года назад

    This is a really clear explanation. Thank you Brian!

  • @DominicVictoria
    @DominicVictoria 5 лет назад

    Video Well made. Very on point. I love it when people put effort into their work.

  • @kiennguyen1387
    @kiennguyen1387 10 лет назад +2

    Thank Brian for this awesome video, it helps me alot!

  • @anatheistsopinion9974
    @anatheistsopinion9974 4 года назад +1

    Exactly the kind of content I was looking for! Thanks a lot :)

  • @dotdioscorea4843
    @dotdioscorea4843 9 месяцев назад

    What a clear straight forward video, really good

  • @jonassteinberg3779
    @jonassteinberg3779 6 лет назад

    concise agnostic overview of OS (and some CPU) fundamentals. thank you.

  • @bafanidus
    @bafanidus 7 лет назад +1

    Nice explanation. You're definitely talented in knowledge sharing, thank you!

  • @sagarkapasi099
    @sagarkapasi099 6 лет назад +1

    watched the whole thing in one sitting… Feeling High! Thanks For The Valuable Information!! Liked Your Voice.

    • @HK-sw3vi
      @HK-sw3vi 3 года назад

      bruh it's only 23 mins long lol

    • @sagarkapasi099
      @sagarkapasi099 3 года назад

      @@HK-sw3vi bruh it's a 3 year old comment :p

  • @StrangeIndeed
    @StrangeIndeed 3 года назад

    I can't stress how helpful your videos are. I love u c:

  • @Yazan_Majdalawi
    @Yazan_Majdalawi Год назад

    A joy, this video is a joy..
    And tge channel is a treasure.

  • @patturnweaver
    @patturnweaver 5 месяцев назад

    amazing.
    you are one of my favorite computer topic explainers
    you are gifted. keep sharing the gift

  • @mitchellschoenbrun
    @mitchellschoenbrun 2 года назад

    This is a good video. I like the fact that you put the word "Basics" into the title. You are describing an OS using a monolithic structure. This is an understandable prejudice since Windows, Unix, Linux and Mac OS use this structure, however it is not the only possible OS architecture.

  • @s7362454
    @s7362454 10 лет назад

    thanks for this video.
    just today i started learning this course

  • @gregs6178
    @gregs6178 9 лет назад +3

    Great video. packed with information

  • @thetrainoflife8327
    @thetrainoflife8327 3 года назад

    Absolutely phenomenal , loved it , thanks much

  • @Sentom23
    @Sentom23 3 месяца назад +1

    12:30 Damn I remember having to restart flash games back in the day because they would crash after a while because of memory leaks, nice to somewhat understand why now

  • @dubzy21
    @dubzy21 3 года назад

    This is exactly what I was looking for thank you

  • @samhblackmore
    @samhblackmore 9 лет назад +156

    Oh so that's what "stack overflow" means, I feel like I'm in on a very nerdy joke now

  • @DrJoySmithMaxwell
    @DrJoySmithMaxwell 17 дней назад

    Thanks; This is the best OS intro. vid.

  • @arkoraa
    @arkoraa 7 лет назад +2

    You sound like a radio host lol. Great video!

  • @MaxPicAxe
    @MaxPicAxe 5 лет назад

    Wow this is great video and I learned so much thanks a lot! Keep it up

  • @user-gw9vf8sc4c
    @user-gw9vf8sc4c 9 лет назад

    great video!!' english is not my mother tongue however i managed to grasp your lecture by the plain and descriptive presentation

  • @pedersen268
    @pedersen268 Год назад

    Amazing summary! Thank you good sir!

  • @nikhilgumidelli6308
    @nikhilgumidelli6308 4 года назад

    Brilliantly explained !

  • @LoTekkie
    @LoTekkie 7 лет назад +1

    Brilliant, thank you.

  • @anvilanvil1400
    @anvilanvil1400 4 года назад

    This was very helpful. Thank you!

  • @75hilmar
    @75hilmar 5 лет назад

    Your audio quality is really nice.

  • @grott0
    @grott0 6 лет назад

    Awesome video. Thank you!

  • @MyFunnyWeekend
    @MyFunnyWeekend 4 года назад

    Very nice, thank you for explanations!

  • @haydengalloway5177
    @haydengalloway5177 Год назад

    This is really educational and well explained. I just wish your voice didn't make me so sleepy.

  • @GaneshNarvane
    @GaneshNarvane 9 лет назад

    Its a very nice and useful tutorial ..
    Thank You.!

  • @nekuuu
    @nekuuu Год назад

    This video is brilliant!

  • @Skellingtor
    @Skellingtor 6 лет назад

    These videos are excellent

  • @Tray2323FTW
    @Tray2323FTW 5 лет назад +14

    But when a stack overflow occurs on my computer, I usually solve my programming problems!

  • @briantwill
    @briantwill  10 лет назад +15

    Intel's Hyperthreading adapts superscaling to run multiple threads (usually 2) on one core. Effectively, the OS can treat one core as 2 'logical' cores'. I've seen conflicting reports of how effective this is, so I can't say whether it's better to run two threads on the same physical core, or on separate physical cores, or whether it doesn't matter.

    • @NeelSandellISAWESOME
      @NeelSandellISAWESOME 2 года назад

      This is the same way the an OS can treat one disk as two "logical" disks.

    • @markteague8889
      @markteague8889 Год назад

      It is always better to have two separate physical cores than to interleave two threads on the same core.

  • @user-xm6lg9hs9i
    @user-xm6lg9hs9i 2 года назад

    Why do we switch from the user's stack to a kernel stack when we enter the kernel ( e.g. for a system call ) ?

  • @davidprock904
    @davidprock904 4 года назад

    The architecture I have been working on eliminates the need for pre-emptive multitasking

  • @davidsun9026
    @davidsun9026 2 года назад

    This dude's videos are the fundamentals that all these coding boot camps don't teach you, but should know.

  • @DaneDuPlessis
    @DaneDuPlessis 5 лет назад

    Big fan of Brain's. Informative. Pithy. Thanks.

  • @stashatstake
    @stashatstake 4 года назад

    It's a 23 minute video, but since I've only watched this video of yours as a standalone, you've spewed so much information that it took me over two hours to just decipher it all
    Especially since you speak so fast, and there's little graphic description to accompany the verbal barrage

    • @thotsi
      @thotsi 4 года назад

      this video is good after you have studied the topic as a sort of checklist recap to make sure you understand everything

  • @89Valkyrie
    @89Valkyrie 6 лет назад

    Excellent fucking video. So many questions answered. Thanks a bunch!

  • @mussacharles7629
    @mussacharles7629 3 года назад

    Hi Brian, The linked url for the full series seems to be down. Is there any alternative site for the series?

  • @Bestietvcute
    @Bestietvcute 8 лет назад

    Very good ! ... thanks for making this video

  • @nukkable
    @nukkable 4 месяца назад

    best video on RUclips

  • @BillEngwall
    @BillEngwall 2 года назад

    Brian, you are doing god's work! Keep up :)

  • @iexclusive4u
    @iexclusive4u 5 лет назад

    @ 21:13 does it means that "partition 1" resides under "partition 2" and then "partition 3" resides under "partition 1" and therefore partition 1 & 3 are the subset of partition 2 ?

  • @mrtpsoroush
    @mrtpsoroush 4 года назад +2

    I wonder what it takes to know so much about computers. What level of formal education do you have?

  • @chrissxMedia
    @chrissxMedia 5 лет назад

    this is pretty awesome!

  • @aragorn420
    @aragorn420 5 месяцев назад

    this is incredible

  • @anonymoussloth6687
    @anonymoussloth6687 2 года назад

    How is the program actually ran? U said that when we return from a stack frame, we use the return address to go back to the parent call. But the actual instructions are stored in the stack? Or does this return address reference memory to the instructions stored in the text area of the memory?

  • @Ricky-zc8qm
    @Ricky-zc8qm 7 лет назад +2

    You need quite a bit of knowledge already to really make much use of this video. For anyone who wants to really understand this video I recommend watching ISA MIPS, OS process handling (interrupts and process control blocks), device drivers vs. device controllers, Filesystems and Partitions tutorials before watching this.

    • @jay1jayf
      @jay1jayf 6 лет назад

      thanks, fam. I was confused. Doing my individual research before heading to the proper IT fields.

    • @Bakugantsuvai1
      @Bakugantsuvai1 6 лет назад

      What tutorials did you read? Mind linking a few you found useful? I am rusty on OS fundamentals.

  • @piyushgarg3738
    @piyushgarg3738 5 лет назад

    Can we get access to the slides that are presented in this video, it's a very good and informative video ?

  • @vortyx090
    @vortyx090 8 лет назад

    OMG DUDE THIS VIDEO IS SO COOL!! SO EDUCATIVEE! TY!! IF YOU CAN , please meake more videos like this :D they are so cool!

  • @nontth5355
    @nontth5355 3 года назад

    uhhh if i have C:/house/window.txt and let say C is partition 1
    does that mean file window.txt is a file in partition 1 that can only be access by house directory right? but if in the house directory I have another file call door.exe does that mean door.exe is a file in partition 1 and can be access by house directory too? that mean directory house can link to 2 file?? Im pretty sure i misunderstand something. help pls Im confuse.

  • @soz824
    @soz824 4 года назад

    This so good!!

  • @acm3871
    @acm3871 3 года назад

    This is awesome.

  • @DominicVictoria
    @DominicVictoria 5 лет назад

    How about machine learning code? Doesn’t those codes change on runtime?

  • @anteconfig5391
    @anteconfig5391 6 лет назад +3

    When he explained how the stack memory and heap and everything was allocated and mapped I started thinking that it just seemed very inefficient. I know that's how it works but still, I think there's a better way.
    Also I think those fragmented heaps could be handled. Maybe not prevented but definitely handled by without human intervention.

  • @kundaimudzingwa5071
    @kundaimudzingwa5071 5 лет назад

    GREAT, informative

  • @CristalCody
    @CristalCody 10 лет назад +1

    You got one badass voice.

  • @HarvinderSandhuEsq
    @HarvinderSandhuEsq 5 лет назад

    This vid is quality!!

  • @retardedead5124
    @retardedead5124 5 лет назад

    Can I ask a question. Where I can apply the idea 'Data Structures ' in this video? And why it is used?

    • @jayant9151
      @jayant9151 5 лет назад

      Wht u mean? Stack data structure is used

  • @ptemperance8642
    @ptemperance8642 6 лет назад

    So, you said that when a system gives a process a heap chunk, the process tracks the space the heap uses as well as the system. Why not have the system inform the process of all it's heap spaces whenever new heap is asked for? Then the system could defragment the space by shuffling the heap spaces to keep the free space as large as possible, doing this only when new heap is required and passing back the the heap address spaces to the process.
    Would this not be possible, or is it bad for some reason? (though obviously, certain controls may be desired to keep the defrag from happening too often and other issues naturally)

    • @ashutoshvaish867
      @ashutoshvaish867 5 лет назад

      What you are referring is called compaction or defragmentation. It requires lot of time and the memory should be be dynamically relocatable for it.(correct me if I am wrong)

  • @petevenuti7355
    @petevenuti7355 2 года назад

    How does this all work when it involves virtual machines? How does a hypervisor deal with an os that is demanding direct hardware access? How was it accomplished before CPU's gave extra support for such? Nested hypervisors?

  • @patrickmullen2914
    @patrickmullen2914 Год назад

    Great video 👍

  • @Felix-ve9hs
    @Felix-ve9hs 7 лет назад +4

    so now i know what Java means with "stack overflow" ... all my minecraft Shader Mods were just producing too many system calls ...

  • @TheRojo387
    @TheRojo387 3 месяца назад

    The bottom-up address space seems to make sense for the little-endian storage of data...especially to an Irish viewer (as Ogham script is literally just etched upward along a sharp edge on a rock or a post). Except...execution of code progresses up the addresses too, and Logisim, for one thing, shows data addresses increasing DOWN the ROM and RAM.

  • @cyrilemeka6987
    @cyrilemeka6987 5 месяцев назад

    10:16 don't programming languages like C++ or C set the stack boundary?

  • @samarthtandale9121
    @samarthtandale9121 Год назад

    Amazing !!!

  • @jht4052
    @jht4052 6 лет назад

    are slides available?

  • @Jus1iceify
    @Jus1iceify 8 лет назад

    Hello Brian, nice video, rly gave me the understanding of the basics. However nearly at 13:49 you are saying that each process can only access the RAM that was specifically mapped to it by an OS. Then how do cheat engine and similar programs work? They are able to access the memory of other processes or?

    • @JwopDk
      @JwopDk 8 лет назад

      +Igor Fedotov syscalls

    • @briantwill
      @briantwill  8 лет назад +1

      +Igor Fedotov I overstated it there. Some OS's allow a process to muck with internals of another process via syscalls if the process has sufficient privileges. This can be useful for things like debuggers. (Not sure that's what's going on with a typical cheat engine though. Anyone know more?)

  • @amanisnotreal
    @amanisnotreal 3 года назад

    Still helpful till this day