Video & Podcast

How Each Language Runs

Each language takes a different path from source code to execution.

C++
.cpp source →
Preprocessor (cpp) →
Compiler (g++) →
Assembler → Linker →
Native machine code →
CPU runs directly
Compiled (AOT)
Python
.py source →
Compiler (internal) →
Bytecode (.pyc in __pycache__/) →
CPython VM interprets
Bytecode + VM
Java
.java source →
Compiler (javac) →
Bytecode (.class) →
JVM interprets +
JIT compiles hot paths →
Native machine code
JVM Bytecode + JIT

Install Ubuntu on Windows via WSL

Follow these steps in order. All PowerShell commands must be run as Administrator.

1
Verify Windows Version
Open PowerShell and check your build. WSL 2 requires Windows 10 version 2004+ (Build 19041+) or Windows 11.
winver
2
Run PowerShell as Administrator
Search PowerShell in the Start menu → Right-click → Run as Administrator.
3
Enable WSL
This enables WSL, Virtual Machine Platform, downloads WSL, and installs Ubuntu automatically. Restart when prompted.
wsl --install
4
Update WSL
After restart, update WSL and verify the version.
wsl --update
wsl --version
Expected output: WSL version: 2.x.x
5
View Available Distros
See all Linux distributions available to install.
wsl --list --online
6
Install Ubuntu 24.04
Install the latest Ubuntu LTS release and wait for it to finish.
wsl --install -d Ubuntu-24.04
7
Launch Ubuntu
Do not assume restart will start Ubuntu automatically. Run it explicitly, or open Ubuntu 24.04 from the Start menu. On first launch, create your UNIX username and password.
wsl -d Ubuntu-24.04
8
Update Ubuntu
Inside the Ubuntu terminal, update and upgrade all packages.
sudo apt update
sudo apt upgrade -y
📄
Full WSL Setup Guide
aikaryashala.com/bootcamp/kiet/installation.html