<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: &lt;/AnIrBaN&gt;</title>
    <description>The latest articles on DEV Community by &lt;/AnIrBaN&gt; (@anirbandev).</description>
    <link>https://dev.to/anirbandev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1120397%2Fc707dd0e-f48a-418f-8216-1f2d8b4ce4cd.png</url>
      <title>DEV Community: &lt;/AnIrBaN&gt;</title>
      <link>https://dev.to/anirbandev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anirbandev"/>
    <language>en</language>
    <item>
      <title>What's actually an OS??</title>
      <dc:creator>&lt;/AnIrBaN&gt;</dc:creator>
      <pubDate>Wed, 27 Sep 2023 10:12:31 +0000</pubDate>
      <link>https://dev.to/anirbandev/whats-actually-an-os-72b</link>
      <guid>https://dev.to/anirbandev/whats-actually-an-os-72b</guid>
      <description>&lt;p&gt;Many of us have heard this word "&lt;strong&gt;OS&lt;/strong&gt;" in our day-to-day life or may be dealing with it in our own electronic devices . But whats actually an OS? Hm interesting .. Lets deep dive into it&lt;/p&gt;

&lt;h2&gt;
  
  
  Intro to OS
&lt;/h2&gt;

&lt;p&gt;If you are reading this post, so of course , atleast you have run a simple application in your device. Alright ! lets say &lt;strong&gt;Instagram&lt;/strong&gt; . So imagine there's no concept of Operating system(OS) yet. Theres a simple device made of CPU , disk , GPU and memory(RAM). And we have installed and opened instagram in our device . So now what will happen? It wont open , right? NO! it will run of course , but the app will hijack the whole resource of your device. &lt;/p&gt;

&lt;p&gt;So lets suppose after using Instagram for few minutes , you have decided to play a game . But as Instagram has hijacked the whole resources of it , it won't even open and the whole device will get freezed and in short &lt;em&gt;HANG!&lt;/em&gt; 🥲.&lt;/p&gt;

&lt;p&gt;So the main point , what does the OS actually do ? &lt;br&gt;
So &lt;strong&gt;this major issue is solved by OS , Its nothing but a program which acts as an interface between the app and the sofwares and hardwares of the device and distributes the resources as per need&lt;/strong&gt; . Hm lots of jargons , I know you din't get it . Fine lets explain a bit more&lt;/p&gt;

&lt;p&gt;So lets look into an analogy . Your mom is preparing your lunch in the kitchen and you and your sister have decided to have something from the fridge lets say a juice . But as your mom is there in the kitchen , she will divide the two juice bottles between you and your sister . But another day , your mom has went into the market and again you and your sister have decided to have icecream from the fridge . As your mom isnt there in the kitchen you will take all the icecreams and wont share with your sister (of course , I hope you arent) . &lt;/p&gt;

&lt;p&gt;So here in this analogy , Your mom is the &lt;strong&gt;OS&lt;/strong&gt; , you and your sister are the applications and the eatables from the fridge are the resources of the device . If OS isnt there in the device , the app will hijack all the resources and wont let other apps to run . But the OS acts as your mom and it shares the resources among all the softwares. So if you are using instagram , OS will allow the app to use only 5% of CPU , 3% of memory , 4% of GPU (lets say) etc. and you can easily run your applications &lt;/p&gt;

&lt;p&gt;But wait wait wait, if the developers of the application write the code for resource management , then is there any need of OS , or is OS useless then ? Lets see this in the next post .&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
