Skip to main content

Layers of Computing

Computers are built heavily around the concept of abstraction – or simplifying complex mechanisms in ways that allow you to build modular systems that are easier to understand and maintain. This creates a pipeline for independent modules – each completing a complex task – to communicate through a common technical language.


Abstraction

While you may need to have some knowledge about hardware specifications to build a computer, you don't need to understand the mechanical underpinnings of the physical engineering. You aren't required to know how to code just to install and use a software package.

Abstractions within a system are defined along lines that denote architectures, standards, protocols and specifications. USB ports are an abstraction that allows us to connect an external device to a computer. Thanks to the common language we built through the USB protocol, we often can use these devices without needing to give it much thought.

Standards are defined by a corporation or agreed upon througha committee. They allow manufacturers and developers to use hardware interchangeably within compatible environments. By developing standardized systems, we can translate software into a language usable by our computer.

A software compiler can take human-readable, high-level programming languages and translate them until they are low-level machine code that can run on your hardware. There are many different programming languages – each requiring their own compiler – and they can be sorted by their level of abstraction.

Visual Language

As the name implies, these programming languages use a visual metaphor to manipulate elements and build functions.

1000006962.png

High-Level Language

This class of programming languages are highly abstracted from raw machine code and generally use text-based natural language elements.

#include <iostream>
using namespace std;

int main() {
  cout << "Hello World";
  return 0;
}
Assembly Language

This category of languages offering mnemonic representations of physical machine instructions and are extremely efficient.

mov abx, 5
mov cdx, 7
add abx, cdx 
Machine Language

This language is completely without abstraction and represents the literal binary data that is being processed by the computer.

[  op  |  rs |  rt | address/immediate]
   35     3     8           68           decimal
 100011 00011 01000 00000 00001 000100   binary

Standards are defined by a corporation or agreed upon througha committee. They allow manufacturers and developers to use hardware interchangeably within compatible environments. By developing standardized systems, we can translate software into a language usable by our computer.

Following these abstractions, there are three levels to computing, each building on the other to achieve a general-purpose operating systems. By building a system consisting of physical hardware parts and integrated firmware, we create a digital software space for performing tasks through applications.


Hardware

This is the physical side of computing, created using integrated circuits created from silica and rare earth metals. The name "hardware" is derived from its relatively rigid nature in respect to change.

Hardware includes the motherboard, which acts as a seat for all hardware parts within a computer and enables their communication. The CPU performs precise calculations, the GPU handles graphical manipulation, and the RAM is used to store data in use by software. Long-term data storage is accomplished through high-capacity platter disks or solid-state flash memory drives.

1000006807.jpg

Many motherboards contain an RTC (Real-Time Clock) that keep track of time even when the computer temporarily loses power. Other hardware components may include: network interface cards, sound cards, BlueTooth, and USB for connecting external devices.


Firmware

This low-level software enables the hardware to interact with higher level software, such as your operating system. Hardware components have low-level code embedded into them that enable your computer to configure it. Hardware abstraction provides an operating system with access to low-level functions on a hardware component without needing to know its low-level machine code. For example, requesting an idle hardware component go to sleep to conserve power.



Altering firmware may require replacing a physical module or flashing a reprogrammable memory chip. The name "firmware" reflects the amorphous blend of hardware and software components. Motherboards contain a reprogrammable firmware interface such as BIOS (Basic Input Output System) or UEFI (Unified Extensible Firmware Interface).

1000006146.webp

These offer access to hardware-level configurations such as which storage device to boot from or which components to disable. RAID allows your computer to enable low-level storage drive duplication or consolidation.

When the hardware is first turn on, the BIOS or UEFI will execute the POST – or Power-On Self Test – to ensure all hardware is functional. After this, the firmware hands control to the software-based bootloader stored on the storage device and loads the operating system.


Software

The operating system offers a general-purpose interface for completing tasks, either using a command-line or graphical user interface.

These generally take up larger amounts of space and are stored on internal data drives. When necessary, drivers may be leveraged to expand on the functionality of hardware beyond what is offered by the firmware.

VirtualBox_Debian - GNOME_02_04_2025_12_03_25.png

The operating system creates a user environment for running applications to perform specific tasks, such as opening a web browser. Server software enables your operating system to respond to requests from client computers accessing over the network.