Computer, Enhance!

Share this post

Table of Contents

www.computerenhance.com
Programming Courses

Table of Contents

Every entry in every series, listed for quick navigation.

Casey Muratori
Jan 27
326
36
Share this post

Table of Contents

www.computerenhance.com

Performance-Aware Programming Series

This series is designed for programmers who know how to write programs, but don’t know how hardware runs those programs. It’s designed to bring you up to speed on how modern CPUs work, how to estimate the expected speed of performance-critical code, and the basic optimization techniques every programmer should know.

The course is broken into parts, with the first part (the “prologue”) being strictly a demonstration with no associated homework. Later parts feature weekly homework.

Q&A session videos are posted every Monday, and cover the comments on the posts from the previous week.

Prologue: The Five Multipliers (3 1/2 hours, no homework)

  1. Welcome to the Performance-Aware Programming Series! (22:05)

  2. Waste (32:56)

  3. Instructions Per Clock (22:05)

  4. Single Instruction, Multiple Data (35:31)

  5. Caching (22:55)

  6. Multithreading (32:11)

  7. Python Revisited (36:22)

Interlude (1 hour, no homework)

  1. The Haversine Distance Problem (30:28)

  2. “Clean” Code, Horrible Performance (22:40)

Part 1: 8086/8088 (in progress)

  1. Instruction Decoding on the 8086 (28:28 +2)

  2. Decoding Multiple Instructions and Suffixes (43:51 +2)

  3. Opcode Patterns in 8086 Arithmetic (20:01 +2)

  4. 8086 Decoder Code Review (1:17:49)

  5. Using the Reference Decoder as a Shared Library (8:48)

  6. Simulating Non-memory MOVs (18:00 +3)

  7. [Multi-part: When Branches Were Branches]

  8. [Multi-part: When Memory Was Memory]

  9. [Multi-part: When Cycles Were Cycles]

Part 2 of the course has not yet been scheduled.

36
Share this post

Table of Contents

www.computerenhance.com
36 Comments
Daniel V
Jan 28Liked by Casey Muratori

I became a paid subscriber solely for this course. I am SUPER stoked!!

Expand full comment
Reply
max
Jan 27Liked by Casey Muratori

Can’t wait for this!

Expand full comment
Reply
34 more comments…
TopNewCommunity

No posts

Ready for more?

© 2023 Casey Muratori
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing