Smallest "Hello, World!\n" program
Joshua Rayton
0:00 / 0:00
Smallest "Hello, World!\n" program
11 216 просмотров · 2 дня назад
Joshua Rayton
982 подписчика
11 216 просмотров · 2 дня назад
Even one of the simplest programs (a "Hello, World!\n" program) is still much larger than it strictly needs to be. In this video, I demonstrate how to reduce executable file size starting in C, then dropping down to assembly, then even raw machine code, and more.
00:00 Introduction
01:00 Definitions and constraints
02:14 C
06:20 Assembly
13:05 ELF binary
22:36 Looser constraints
33:41 Outro