https://github.com/hackclub/putting-the-you-in-cpu Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Customer Stories + White papers, Ebooks, Webinars + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. {{ message }} hackclub / putting-the-you-in-cpu Public * Notifications * Fork 28 * Star 1.3k A technical explainer by @kognise of how your computer runs programs, from start to finish. cpu.land License MIT license 1.3k stars 28 forks Activity Star Notifications * Code * Issues 5 * Pull requests 3 * Actions * Security * Insights More * Code * Issues * Pull requests * Actions * Security * Insights hackclub/putting-the-you-in-cpu This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 2 branches 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/h] Use Git or checkout with SVN using the web URL. [gh repo clone hackcl] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @kognise kognise Hide editions links in one pager ... 3282547 Aug 9, 2023 Hide editions links in one pager 3282547 Git stats * 80 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time public Merge branch 'print-layout' August 8, 2023 23:28 src Hide editions links in one pager August 9, 2023 09:20 .gitignore Look ma, a website July 17, 2023 15:23 LICENSE Look ma, a website July 17, 2023 15:23 README.md Make the comic smaller in the README August 9, 2023 09:01 astro.config.mjs Fix 404 URLs July 21, 2023 08:33 package.json Add PDF generation code August 8, 2023 18:20 pdfgen.js Add PDF generation code August 8, 2023 18:20 postcss.config.cjs Look ma, a website July 17, 2023 15:23 tsconfig.json Look ma, a website July 17, 2023 15:23 vercel.json Proxy the privacy-first analytics July 18, 2023 15:52 yarn.lock Add PDF generation code August 8, 2023 18:20 View code Putting the "You" in CPU From the beginning... README.md [banner-lig] Putting the "You" in CPU A technical explainer of how your computer runs programs, from start to finish. by @kognise and @hackclub From the beginning... I've done a lot of things with computers, but I've always had a gap in my knowledge: what exactly happens when you run a program on your computer? I thought about this gap -- I had most of the requisite low-level knowledge, but I was struggling to piece everything together. Are programs really executing directly on the CPU, or is something else going on? I've used syscalls, but how do they work? What are they, really? How do multiple programs run at the same time? A scrawled digital drawing. Someone with long hair is confused as they peer down at a computer ingesting binary. Suddenly, they have an idea! They start researching on a desktop computer with bad posture. I cracked and started figuring as much out as possible. There aren't many comprehensive systems resources if you aren't going to college, so I had to sift through tons of different sources of varying quality and sometimes conflicting information. A couple weeks of research and almost 40 pages of notes later, I think I have a much better idea of how computers work from startup to program execution. I would've killed for one solid article explaining what I learned, so I'm writing the article that I wished I had. And you know what they say... you only truly understand something if you can explain it to someone else. In a hurry? Feel like you know this stuff already? Read chapter 3 and I guarantee you will learn something new. Unless you're like, Linus Torvalds himself. Continue to Chapter 1: The "Basics" >> (cpu.land) About A technical explainer by @kognise of how your computer runs programs, from start to finish. cpu.land Topics linux cpu linux-kernel elf Resources Readme License MIT license Code of conduct Code of conduct Activity Stars 1.3k stars Watchers 15 watching Forks 28 forks Report repository Contributors 8 * @kognise * @wkhere * @zachlatta * @remicmacs * @chocorho * @OmerBaddour * @Volker-Weissmann * @dependabot[bot] Languages * MDX 74.4% * Astro 15.7% * CSS 8.5% * JavaScript 1.1% * TypeScript 0.3% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.