The journey of a program to the CPU - A friendly guide for the curious coder
In this series, I'll talk about how computers run programs and handle multitasking, in plain English. Topics covered: OS, compilers, processes, multitasking, threads, CPU, and memory management.
Articles in this series
The Journey of a computer program to the CPU
A computer program is a sequence of instructions for a computer to do a particular task. A task can be a simple as calculating a simple value or...
CPU, how a bunch of transistors can understand and execute your code
In the previous chapter, The Journey of a computer program to the CPU, we discussed how a program starts its journey to the CPU once it is opened. In...
Multitasking: the reason you can surf the web while listening to music
In the previous chapter link, we discussed how the CPU fetches, decodes, and executes the instructions of a program. In this chapter, I'll continue...