<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Paper-Compiler]]></title><description><![CDATA[Paper-Compiler is a beginner-friendly computer science publication dedicated to explaining how computers really work—from the hardware beneath the code to moder]]></description><link>https://paper-compiler.hashnode.dev</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1593680282896/kNC7E8IR4.png</url><title>Paper-Compiler</title><link>https://paper-compiler.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 12:43:52 GMT</lastBuildDate><atom:link href="https://paper-compiler.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Why We Cry in C Before We Cruise in Python

Understanding Computers from the Metal Up(Part-1)]]></title><description><![CDATA[Sigh. What a life.
No one wakes up one morning knowing exactly what they want to do with their existence. Neither did I. I just knew I wanted to do something unique—something that truly made a differe]]></description><link>https://paper-compiler.hashnode.dev/why-we-cry-in-c-before-we-cruise-in-python-understanding-computers-from-the-metal-up-part-1</link><guid isPermaLink="true">https://paper-compiler.hashnode.dev/why-we-cry-in-c-before-we-cruise-in-python-understanding-computers-from-the-metal-up-part-1</guid><category><![CDATA[Computer Science]]></category><category><![CDATA[Beginner Developers]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[Computers]]></category><category><![CDATA[education]]></category><dc:creator><![CDATA[Malik Mohammed]]></dc:creator><pubDate>Tue, 21 Jul 2026 12:07:42 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a5e1681859987b19ee9cede/e9e95d96-18d8-4010-a095-39eb1b0bb59b.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Sigh. What a life.</strong></p>
<p>No one wakes up one morning knowing exactly what they want to do with their existence. Neither did I. I just knew I wanted to do something unique—something that truly made a difference far beyond the ordinary. So, I dug in and did my research, searching for a path that genuinely aligned with who I am.</p>
<p>Then I discovered something that changed everything.</p>
<p><strong>Programming.</strong></p>
<p>The moment I discovered coding, my brain instantly linked it to the cool developers in movies—hacking into systems, building incredible technology, and staring at screens filled with flashing zeroes and ones.</p>
<p>And then there was the holy grail: building AI.</p>
<p>I was ecstatic. My mind had finally found something it refused to let go of.</p>
<p>It felt like my brain had finally locked onto its true hyper-focus. I told myself, <em>"Malik, this time, you have to truly commit to the goal at hand."</em></p>
<p>So, I started a relentless grind. I broke. I quit. I cried. I gave up countless times. But over the months, not once did I walk away permanently. What had once felt like an impossible mountain of complexity slowly began to make sense. For the first time, I was finally seeing the results of the grind.</p>
<p>But what for?</p>
<p>I asked myself that same question countless times.</p>
<p><em>Why?</em></p>
<p><em>Why do you keep pushing yourself, Malik? Why do you keep grinding on paper when the lights are out?</em></p>
<p>Is it for the money?</p>
<p>Yes, that's certainly part of it, but it's not the full picture. What began as simple curiosity slowly grew into an obsession. Somewhere along the way, I fell deeply in love with the machine.</p>
<p>This guide is a raw showcase of my journey. It captures what I've endured in the harsh reality of the programming world—written from scratch on a paper notepad on Araba Drive, Lagos, because the universe decided to test my grit by breaking my laptop charger for an entire week.</p>
<p>We jump from one YouTube tutorial to another. We fall into tutorial hell. And somewhere along the way, we completely miss how the computer actually works.</p>
<p>So let's start with an elementary-school question that almost everyone thinks they already know the answer to.</p>
<p><strong>What is a computer?</strong></p>
<p>If you ask around, 99% of people will give you this exact, robotic textbook answer:</p>
<blockquote>
<p><em>"A computer is an electronic device that takes in raw data as input, processes it, and gives it out as information."</em></p>
</blockquote>
<p>Is that answer wrong?</p>
<p>Truthfully, no. But it is dangerously incomplete.</p>
<p>It tells you <strong>what</strong> a computer does, but it completely skips <strong>how</strong> it does it.</p>
<p>If I were to define a computer from the metal up, I would say this:</p>
<blockquote>
<p><strong>A computer is a PROGRAMMABLE electronic device designed to accept RAW DATA as input, process it MATHEMATICALLY and LOGICALLY, STORE the resulting information, and provide the final OUTPUT.</strong></p>
</blockquote>
<p>I'm sure you noticed the fully capitalized words.</p>
<p>Those five words are the absolute pillars of computer science. If you don't understand them at the hardware level, you're simply memorizing programming syntax without truly understanding the machine you're writing code for.</p>
<p>Let's break down the first pillar.</p>
<h2><strong>PROGRAMMABLE</strong></h2>
<p>When we say a machine is <strong>programmable</strong>, what does that actually mean?</p>
<p>In simple terms, being programmable means a machine's behavior can be dramatically changed simply by giving it a different set of instructions.</p>
<p>If that still sounds a little abstract, let's visualize it using something almost everyone has seen before.</p>
<p>A microwave.</p>
<p>A microwave contains electronics—and often a tiny computer—but it is built for one specific family of tasks: <strong>heating food.</strong></p>
<p>You can't install Blender on it.</p>
<p>You can't play Minecraft.</p>
<p>You can't write Python code on it.</p>
<p>You can't reprogram it to calculate your mathematics homework.</p>
<p>Why?</p>
<p>Because it isn't a <strong>general-purpose computer</strong>.</p>
<p>Now compare that to your laptop.</p>
<p>Unlike a microwave, your laptop is designed to execute countless different sets of instructions. The hardware remains the same, but the software completely changes what the machine does.</p>
<p>One minute it's a gaming console.</p>
<p>The next minute it's a web browser.</p>
<p>A few moments later, it's editing videos.</p>
<p>Then it's training an AI model.</p>
<p>The hardware never changed.</p>
<p>Only the instructions did.</p>
<p>That's the true meaning of a programmable computer.</p>
<p>Most of us completely underestimate what our computers are capable of because we've never stopped to understand the machine itself.</p>
<p>Before we write a single line of code, let's first understand the machine we'll spend years talking to.</p>
<h2><strong>The Second Pillar: MATHEMATICALLY</strong></h2>
<p>When you look at your computer screen, what do you see?</p>
<p>You see colorful app icons, wallpapers, mouse pointers, videos, games, and text.</p>
<p>But the computer doesn't see any of that.</p>
<p>It doesn't see colors.</p>
<p>It doesn't see pictures.</p>
<p>It doesn't understand words.</p>
<p>To the machine, everything—and I mean <strong>everything</strong>—is simply a number.</p>
<p>Let's look under the hood.</p>
<h3><strong>Images</strong></h3>
<p>That beautiful desktop wallpaper on your screen is nothing more than a massive grid of tiny pixels.</p>
<p>To the computer, every pixel is represented by numbers describing how much <strong>Red, Green, and Blue (RGB)</strong> light should be displayed.</p>
<p>Millions of pixels.</p>
<p>Millions of numbers.</p>
<h3><strong>Text</strong></h3>
<p>When you type your name, the computer doesn't actually see letters.</p>
<p>Instead, every character is converted into a unique numerical value using a character encoding system such as <strong>ASCII</strong> or <strong>Unicode</strong>.</p>
<p>For example, the capital letter <strong>'A'</strong> is represented by the number <strong>65</strong> in ASCII.</p>
<p>To you, it's the letter <strong>A</strong>.</p>
<p>To the computer, it's simply another number.</p>
<h3><strong>Music</strong></h3>
<p>Music files are no different.</p>
<p>They are simply long streams of numbers telling your speakers exactly how to vibrate at every tiny fraction of a second.</p>
<p>Those vibrations become the sounds your ears recognize as music, speech, or sound effects.</p>
<p>So what does it really mean when a computer "processes data"?</p>
<p>It means the computer performs billions of tiny arithmetic and logical operations every second.</p>
<p>Those tiny operations work together to produce everything you see, hear, and interact with on your screen.</p>
<p>Take another two minutes to let that sink in.</p>
<p>Every video game you play...</p>
<p>Every website you visit...</p>
<p>Every program you run...</p>
<p>At its core, it is all the result of billions of mathematical and logical operations happening every single second.</p>
<h2><strong>The Third Pillar: LOGICALLY</strong></h2>
<p>Logic.</p>
<p>What a fascinating concept.</p>
<p>Before we connect it to computers, let's step back for a moment.</p>
<p>What do you actually understand by the word <strong>logic</strong>?</p>
<p>Forget computers for a second.</p>
<p>In everyday life, how would you define it?</p>
<p>To me, logic is the systematic study of valid reasoning. It is the framework we use to determine whether a statement makes sense or whether it falls apart under careful examination.</p>
<p>Now let's bring that same idea back to the computer.</p>
<p>What does <strong>logic</strong> mean in computer science?</p>
<p>At its absolute core, computer logic operates on a simple binary system.</p>
<p>Every decision, every comparison, and every calculation is ultimately reduced to just two possible states:</p>
<ul>
<li><p><strong>TRUE</strong> (represented by <strong>1</strong>)</p>
</li>
<li><p><strong>FALSE</strong> (represented by <strong>0</strong>)</p>
</li>
</ul>
<p>Think about a simple electrical switch.</p>
<p>Is electricity flowing through the circuit?</p>
<p><strong>True (1).</strong></p>
<p>Is there no electricity flowing?</p>
<p><strong>False (0).</strong></p>
<p>That simple idea is the foundation of modern computing.</p>
<p>Every operating system.</p>
<p>Every video game.</p>
<p>Every website.</p>
<p>Every AI model.</p>
<p>Every automated script.</p>
<p>Every single one is built upon billions of tiny True/False decisions happening at incredible speed.</p>
<p>Take a second to let that sink in.</p>
<p>Your computer doesn't think in shades of grey.</p>
<p>At its lowest level, it sees a world built on absolute decisions.</p>
<p>True or False.</p>
<p>One or Zero.</p>
<p>In the coming chapters, we'll discover how those tiny True/False decisions become logic gates, memory, processors, and eventually the software we use every day.</p>
<h2><strong>The Fourth Pillar: STORE</strong></h2>
<p>What does it actually mean to <strong>store</strong> something?</p>
<p>In everyday life, storing simply means keeping something so you can use it again later.</p>
<p>Your brain stores memories.</p>
<p>A bookshelf stores books.</p>
<p>A refrigerator stores food.</p>
<p>Computers need to do exactly the same thing.</p>
<p>In computer science, <strong>storage</strong> is the process of saving digital data and instructions so the computer can access them whenever they are needed.</p>
<p>Not all storage works the same way, though.</p>
<p>Computers use two main types of storage: <strong>temporary storage</strong> and <strong>permanent storage</strong>.</p>
<h3><strong>Temporary Storage (RAM)</strong></h3>
<p>Temporary storage is handled by <strong>Random Access Memory (RAM).</strong></p>
<p>Think of RAM as your computer's short-term memory.</p>
<p>It stores the information the CPU needs right now while programs are running.</p>
<p>The moment you shut down your computer, everything stored in RAM disappears.</p>
<p>That's why unsaved work is lost after a power outage.</p>
<h3><strong>Permanent Storage (HDD &amp; SSD)</strong></h3>
<p>Permanent storage is different.</p>
<p>This is provided by devices such as a <strong>Hard Disk Drive (HDD)</strong> or a <strong>Solid-State Drive (SSD).</strong></p>
<p>Unlike RAM, these devices continue storing your files even after the computer has been turned off.</p>
<p>Your operating system.</p>
<p>Your applications.</p>
<p>Your photos.</p>
<p>Your videos.</p>
<p>Your documents.</p>
<p>They all live here until you decide to delete them.</p>
<h3><strong>Common Storage Units</strong></h3>
<p>Storage capacity is measured using different units.</p>
<p>Here are some of the most common ones:</p>
<ul>
<li><p><strong>Kilobyte (KB):</strong> About one page of plain text.</p>
</li>
<li><p><strong>Megabyte (MB):</strong> Roughly one minute of a high-quality MP3 audio file.</p>
</li>
<li><p><strong>Gigabyte (GB):</strong> Approximately one hour of a standard-definition movie.</p>
</li>
<li><p><strong>Terabyte (TB):</strong> Roughly 250,000 high-resolution photos.</p>
</li>
</ul>
<p>Without storage, a computer would forget everything the moment it lost power.</p>
<p>Every time you turned it back on, it would be like meeting the machine for the very first time.</p>
<h2><strong>The Fifth and Final Pillar: OUTPUT</strong></h2>
<p>What is the point of a machine performing billions of mathematical and logical operations if it can never communicate the results?</p>
<p>In human terms, <strong>output</strong> is how you express what is inside your mind. Right now, I am doing exactly that by writing these words onto a paper notepad for you to read.</p>
<p>In computer science, <strong>output</strong> is the process of translating the computer's invisible internal calculations—the raw numbers, the ones, and the zeroes—into a form that humans can see, hear, or physically interact with.</p>
<p>It is the bridge between the machine's digital world and our physical one.</p>
<p>Output devices generally fall into three categories.</p>
<h3><strong>Visual Output</strong></h3>
<p>Your monitor, phone screen, or VR headset.</p>
<p>The computer takes millions of numbers and converts them into tiny flashes of colored light. Your brain then interprets those lights as web pages, applications, videos, games, and everything else you see on your screen.</p>
<h3><strong>Auditory Output</strong></h3>
<p>Your speakers or headphones.</p>
<p>The computer converts streams of numerical data into electrical signals, causing the speakers to vibrate. Those vibrations travel through the air as sound waves, allowing you to hear music, dialogue, podcasts, and sound effects.</p>
<h3><strong>Physical Output</strong></h3>
<p>Some output is something you can physically feel or hold.</p>
<p>A printer transforms digital information into ink on paper.</p>
<p>A game controller vibrates when your character takes damage.</p>
<p>A robotic arm in a factory moves according to instructions sent by a computer.</p>
<p>Different devices.</p>
<p>The same purpose.</p>
<p>To communicate the computer's results to the outside world.</p>
<p>Without output, the computer could still perform calculations, but we would have no practical way to see, hear, or interact with the results.</p>
<p>Now let's put everything together.</p>
<ul>
<li><p><strong>Input</strong> is the question.</p>
</li>
<li><p><strong>Processing</strong> (Mathematics and Logic) is the thinking.</p>
</li>
<li><p><strong>Storage</strong> is the memory.</p>
</li>
<li><p><strong>Output</strong> is the answer.</p>
</li>
</ul>
<p>That simple cycle powers everything—from the smartphone in your pocket to the largest supercomputers and modern AI systems.</p>
<p>You now understand the five fundamental pillars that govern every modern computer.</p>
<p>Everything else you learn from this point forward will build upon these foundations.</p>
<p>And in the next chapter, we'll begin exploring the language every computer speaks at its lowest level: <strong>binary</strong>.</p>
]]></content:encoded></item></channel></rss>