ランキングに戻る

hackclub/putting-the-you-in-cpu

MDXcpu.land

A technical explainer by @kognise of how your computer runs programs, from start to finish.

cpuelflinuxlinux-kernel
スター成長
スター
5.5k
フォーク
191
週間成長
Issue
24
2k4k
2023年6月2024年6月2025年7月2026年7月
README

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)

関連リポジトリ
exelban/stats

macOS system monitor in your menu bar

SwiftMIT Licensemacosmonitor
mac-stats.com
40.7k1.4k
0voice/interview_internal_reference

2025年最新总结,阿里,腾讯,百度,美团,头条等技术面试题目,以及答案,专家出题人分析汇总。

PythonPyPInetworkredis
37.2k9.4k
Rem0o/FanControl.Releases

This is the release repository for Fan Control, a highly customizable fan controlling software for Windows.

Otherfancontrol
20.3k605
seerge/g-helper

Lightweight Armoury Crate alternative for Asus laptops with nearly the same functionality. Works with ROG Zephyrus, Flow, TUF, Strix, Scar, ProArt, Vivobook, Zenbook, Expertbook, ROG Ally, and many more.

C#GNU General Public License v3.0g14mux
g-helper.com
14.3k540
plasma-umass/scalene

Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python with AI-powered optimization proposals

PythonPyPIApache License 2.0pythonprofiling
13.5k435
giampaolo/psutil

Cross-platform lib for process and system monitoring in Python

PythonPyPIBSD 3-Clause "New" or "Revised" Licensepythonmonitoring
psutil.io
11.2k1.5k
unicorn-engine/unicorn

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)

CGNU General Public License v2.0emulatorframework
unicorn-engine.org
9.2k1.5k
AdnanHodzic/auto-cpufreq

Automatic CPU speed & power optimizer for Linux

PythonPyPIGNU Lesser General Public License v3.0cpuspeed
foolcontrol.org
7.6k351
tianshiyeben/wgcloud

Linux运维监控工具,支持系统硬件信息,内存,CPU,温度,磁盘空间及IO,硬盘smart,GPU,防火墙,网络流量速率等监控,服务接口监测,大屏展示,拓扑图,端口监控,进程监控,docker监控,日志监控,文件防篡改,数据库监控,指令批量下发执行,web ssh,Linux面板(探针),告警,SNMP监测,K8S,Redis,Nginx,Kafka,资产管理,计划任务,密码管理,工作笔记

JavaMavenApache License 2.0linuxdevops
wgstart.com
5.2k906
GoogleChromeLabs/react-adaptive-hooks

Deliver experiences best suited to a user's device and network constraints

JavaScriptnpmApache License 2.0react-hooksperformance
5.2k113
amanusk/s-tui

Terminal-based CPU stress and monitoring utility

PythonPyPIGNU General Public License v2.0cpumonitoring
amanusk.github.io/s-tui/
5k177
uber-go/automaxprocs

Automatically set GOMAXPROCS to match Linux container CPU quota.

GoGo ModulesMIT Licensegogolang
godoc.org/go.uber.org/automaxprocs
4.8k175