How simultaneous multithreading works under the hood
Learn the microarchitecture-level details of the processor that enable to execute two threads at the same time on a CPU core
I write about how computers work underneath the abstractions: compilers, operating systems, memory, performance, and low-level programming. Click to read Confessions of a Code Addict, by Abhinav Upadhyay, a Substack publication with tens of thousands of subscribers.
Visit blog.codingconfessions.com → RSS feedOn Hacker News Jul 2024 – Jan 2025
Systems & Performance 4Software Engineering 3Hardware & Electronics 2Programming Languages 1History & Retro Computing 1Databases & Data 1
Learn the microarchitecture-level details of the processor that enable to execute two threads at the same time on a CPU core
How do you fit a dictionary in 64kb RAM? Unix engineers solved it with clever data structures and compression tricks. Here's the fascinating story behind it.
No clustering algorithm is perfect and you must make a trade-off.
How does the Linux kernel represent processes and their state: A breakdown of task_struct and mm_struct