Layman's Guide to Computing
Archives
Search...
Subscribe
[LMG S5] Issue 63: Limitations of Meltdown and Spectre
March 7, 2020
Previously: To snoop the cache, we: Flush the cache corresponding to the 256 memory addresses (to get a cache miss when attempting to load the data from...
[LMG S5] Issue 62: Cache snooping
March 3, 2020
Apologies for the delay in Issue 62, it took longer than expected to work out how to laymanise it enough to be easily understood. Much thanks to Alex for his...
[LMG S5] Issue 61: Mapping the cache
February 22, 2020
Previously: Speculative execution is a feature that lets the CPU speed up execution if it correctly predicts a decision point. The CPU carries out the...
[LMG S5] Issue 60: CPU Optimisation Part 2 – Speculative Execution and Spectre
February 15, 2020
Previously: A set of instructions can trick a CPU into reordering load instructions so that the data is temporarily loaded into the cache before the...
[LMG S5] Issue 59: Meltdown
February 8, 2020
Previously: The CPU comprises different types of execution units. All the execution units can run at the same time, but they may execute instructions over...
[LMG S5] Issue 58: CPU Optimisation Part 1 – Out-of-Order Processing
February 1, 2020
Previously: The CPU stores data for ready access in the CPU cache. Accessing data from the CPU cache is much faster than accessing data from main memory....
[LMG S5] Issue 57: Cache, the CPU’s working space
January 25, 2020
Previously: The operating system is responsible for listing and managing the computer’s resources, making them available to programs running on the computer,...
[LMG S5] Issue 56: Operating Systems and resource management
January 18, 2020
Previously: The CPU just executes instruction after instruction after instruction. Each instruction may consist of loading data from a memory location,...
[LMG S5] Issue 55: Addressing memory
January 11, 2020
Previously: To get useful output from a CPU, we must translate the operations we want it to perform into CPU instructions, in a process known as compiling....
[LMG S5] Issue 54: Compiling programming code into CPU instructions
January 4, 2020
Previously: CPUs are unconscious slaves that simply execute instruction after instruction, at a very fast rate. Last issue, I introduced the idea of the CPU...
[LMG S5] Issue 53: The CPU is an instruction-obeying slave
December 28, 2019
Previously: PDF’s markup language is more concerned with how things appear on the page than with what they were originally. Once the PDF is generated, it is...
[LMG S4] Issue 52: PDFs part 2 – Text and images
December 21, 2019
Previously: PDF is the gold standard for universal compatibility (supported by most software and platforms) and visual fidelity (displays exactly the same...
[LMG S4] Issue 51: PDFs part 1 – Compatibility and fidelity
December 14, 2019
Previously: An HTML file contains markup tags that tell the browser how to interpret and format the text within the tags. Other document formats usually use...
[LMG S4] Issue 50: Complex file formats and the Document
December 7, 2019
Previously: A file consists of data, preceded by a file header which describes the data. Software (including operating systems) detect the kind of data...
[LMG S4] Issue 49: What is a File?
November 30, 2019
Previously: A video container can hold one or more audio, video, or text data streams. To encode or decode a data stream, you need to have the necessary...
[LMG S4] Issue 48: Of containers and codecs
November 23, 2019
Previously: Data cannot be compressed beyond its predictability limit in a lossless fashion. Lossless compression does not discard any information. It spots...
[LMG S4] Issue 47: Lossless compression
November 16, 2019
Previously: Computers compress image and audio data through a process similar to summarising: it analyses the data using algorithms that use brightness and...
[LMG S4] Issue 46: Lossy compression
November 9, 2019
Previously: Humans can distinguish 120 dB of loudness, which means the loudest perceivable sound is a million times louder than the softest perceivable...
[LMG S4] Issue 45: Audio, a sampling of values
November 2, 2019
Previously: An image’s resolution describes its dimensions. Its pixel resolution gives an indication of its physical size (if printed or displayed on a...
[LMG S4] Issue 44: Image resolution
October 26, 2019
Previously: Colour is stored as a combination of red, green, and blue. In a computer system, each colour is stored as one byte (8 bits), allowing for 256...
Newer archives
Older archives