<?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: Ankit Thakur</title>
    <description>The latest articles on DEV Community by Ankit Thakur (@ankit_thakur_d54323e1ae70).</description>
    <link>https://dev.to/ankit_thakur_d54323e1ae70</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3669067%2Fbac58c94-3b4a-42a8-a6d4-58c0f22b209f.png</url>
      <title>DEV Community: Ankit Thakur</title>
      <link>https://dev.to/ankit_thakur_d54323e1ae70</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ankit_thakur_d54323e1ae70"/>
    <language>en</language>
    <item>
      <title>Paging In OS</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Tue, 01 Sep 2026 16:19:41 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/paging-in-os-1430</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/paging-in-os-1430</guid>
      <description>&lt;p&gt;Paging in Operating System&lt;/p&gt;

&lt;p&gt;Paging is a memory management technique used by an Operating System (OS). It is used to manage the main memory efficiently and allows a process to use memory even when its data is not stored continuously in physical memory.&lt;/p&gt;

&lt;p&gt;In paging, the logical memory of a process is divided into fixed-size blocks called pages, while the physical memory (RAM) is divided into fixed-size blocks called frames. The size of a page and a frame is always the same.&lt;/p&gt;

&lt;p&gt;How Paging Works&lt;/p&gt;

&lt;p&gt;When a program is executed:&lt;/p&gt;

&lt;p&gt;The program is divided into fixed-size pages.&lt;br&gt;
The main memory is divided into fixed-size frames.&lt;br&gt;
The OS loads the required pages into available frames.&lt;br&gt;
A page table is maintained by the OS to keep track of which page is stored in which frame.&lt;br&gt;
When the CPU generates a logical address, the OS uses the page table to convert it into a physical address.&lt;br&gt;
Example&lt;/p&gt;

&lt;p&gt;Suppose a process has 4 pages:&lt;/p&gt;

&lt;p&gt;Page 0&lt;br&gt;
Page 1&lt;br&gt;
Page 2&lt;br&gt;
Page 3&lt;/p&gt;

&lt;p&gt;And RAM has available frames:&lt;/p&gt;

&lt;p&gt;Frame 0&lt;br&gt;
Frame 1&lt;br&gt;
Frame 2&lt;br&gt;
Frame 3&lt;/p&gt;

&lt;p&gt;The pages do not have to be stored continuously. For example:&lt;/p&gt;

&lt;p&gt;Page    Frame&lt;br&gt;
Page 0  Frame 2&lt;br&gt;
Page 1  Frame 0&lt;br&gt;
Page 2  Frame 3&lt;br&gt;
Page 3  Frame 1&lt;/p&gt;

&lt;p&gt;The page table stores this mapping.&lt;/p&gt;

&lt;p&gt;So, if the CPU wants to access Page 2, the OS checks the page table and finds that Page 2 is present in Frame 3.&lt;/p&gt;

&lt;p&gt;Logical and Physical Address&lt;/p&gt;

&lt;p&gt;A logical address in paging is divided into two parts:&lt;/p&gt;

&lt;p&gt;Logical Address = Page Number + Offset&lt;/p&gt;

&lt;p&gt;Page Number: Identifies the page.&lt;br&gt;
Offset: Identifies the exact location inside that page.&lt;/p&gt;

&lt;p&gt;The page number is used to find the corresponding frame from the page table. Then the frame number and offset are combined to create the physical address.&lt;br&gt;
Advantages of Paging&lt;br&gt;
It reduces external fragmentation.&lt;br&gt;
Memory can be used more efficiently.&lt;br&gt;
A process does not need to be stored in continuous memory.&lt;br&gt;
It makes virtual memory possible.&lt;br&gt;
Memory allocation becomes easier for the OS.&lt;br&gt;
Disadvantages of Paging&lt;br&gt;
It requires extra memory for maintaining page tables.&lt;br&gt;
Address translation can increase memory access time.&lt;br&gt;
It can cause internal fragmentation, especially when a page is not completely filled.&lt;br&gt;
Large processes may require large page tables.&lt;/p&gt;

</description>
      <category>computerscience</category>
      <category>learning</category>
      <category>software</category>
    </item>
    <item>
      <title>Types of Operating Systems</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Sun, 07 Jun 2026 08:24:04 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/types-of-operating-systems-g75</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/types-of-operating-systems-g75</guid>
      <description>&lt;p&gt;An operating system is the software that manages your computer's hardware and provides services to applications. But not all operating systems are built alike — different use cases call for very different designs.&lt;/p&gt;

&lt;p&gt;What is an Operating System?&lt;br&gt;
Think of an OS as the bridge between you and your hardware. When you click "open file," the OS handles the disk read, memory allocation, and screen rendering — all invisibly. Without it, every app would need to talk directly to hardware, which would be chaos.&lt;/p&gt;




&lt;p&gt;Batch OS&lt;/p&gt;

&lt;h2&gt;
  
  
  Jobs collected and executed in groups without user interaction. Early IBM systems used this.
&lt;/h2&gt;

&lt;p&gt;Time-Sharing OS&lt;/p&gt;

&lt;h2&gt;
  
  
  Multiple users share the CPU simultaneously via rapid context switching. Unix is a classic example.
&lt;/h2&gt;

&lt;p&gt;Real-Time OS&lt;/p&gt;

&lt;h2&gt;
  
  
  Guarantees task completion within strict time deadlines. Used in pacemakers, flight systems.
&lt;/h2&gt;

&lt;p&gt;Distributed OS&lt;/p&gt;

&lt;h2&gt;
  
  
  Multiple machines appear as one unified system. Powers cloud computing platforms.
&lt;/h2&gt;

&lt;p&gt;Embedded OS&lt;br&gt;
Lightweight OS designed for specific hardware devices like routers, smartwatches, or printers.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>fundaments of OS</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Thu, 18 Dec 2025 14:46:49 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/fundaments-of-os-3fg7</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/fundaments-of-os-3fg7</guid>
      <description>&lt;p&gt;-: What is an Operating System?&lt;br&gt;
Okay Lets understand Operationg System without knowing its actual definition suppose we have a computer and we want to Store something into our Memory So how will you store it without an operating system. I think you are blank now so You have to convert into binary number system and give to the hardware then store it. Lets take one more example what if I say you can’t open your devices without help of OS I know it is little bit surprising If you Don’t use OS then occur this Issues such as bulky and complex app(Hardware attraction must be System Software)(System Software is basically operates your Application Software), In easy word which application help us in providing basic interfaces such as file management, memory management, System Security, software updates)and Application software is provide actual works such as specific user tasks Such as video editing , Coding IDES &amp;amp; environment, there are so many examples) Operating system central part is Kernel, A kernel is the core component of an (OS)serving as the essential foundation that provides basic services for all other parts of the OS .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Function of OS:-&lt;br&gt;
*Its provides user interface between user devices with its hardware.&lt;br&gt;
*Resource Manger (OS manages all the things our pc).&lt;br&gt;
*Hides Complexities (without knowing how data stores into memory ).&lt;/p&gt;

&lt;p&gt;Thnaku!&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F09012yzrut7nb95mmdb0.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F09012yzrut7nb95mmdb0.webp" alt=" " width="462" height="280"&gt;&lt;/a&gt;&lt;/p&gt;

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