Skip to content
0:00 / 0:00

#assembly#machinecode#compiler

Comparing C to machine language

Ben Eater

1.4M subscribers • 29 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • A classic. People kept recommending it from 2021 to 2025.
  • Presented by Ben Eater

Intermediate. Assumes working knowledge.

5.8M views11 years ago2 recommendations

Systems programmingProgramming languagesCompilers and interpretersCCPUs and computer architecture

Ben Eater compares a simple C program with its compiled assembly and machine code to show how compilers translate high-level code.

In this video, I compare a simple C program with the compiled machine code of that program. Support me on Patreon: patreon.com/beneater

Why it's here

2 people recommend this

What people say. Recommended as an eye-opening introduction to how compilers work and how C maps to assembly.

u/diseasealertin r/compsci • Recommends

On “What are the best books on Computer Science/ Architecture, not just programming?”

Ben Eater has a video where he compiles C by hand. It was a real eye-opener for me.

u/moocatin r/C_Programming • Recommends

On “Learning assembly through C”

While it's only a basic introduction, Ben Eater's Comparing C to machine language is well worth watching.