← All slides

How Computers Work for Beginners — Slides

30 lessons, 405 slides. Each lesson's text and code as one deck (the slides are in Japanese).

Version 1 (made 2026-11-07)

Payment is handled on Stripe's page. After buying, you can download from this page at any time.

Please log in to use a coupon code. You can also enter a promotion code on the payment page (Stripe).

Samples

Sample slide 1 Sample slide 2 Sample slide 3

What's included

  • slides.pdf — One slide per page. For checking or printing
  • png/ — 1920×1080 images, ready to drop into a video editor
  • index.html — Open in a browser to present. Press P for the presenter view (notes, next slide, elapsed time)

Each lesson has its own folder. The lesson text is kept as is, so what to say appears in the presenter notes.

How you may use them

  • Your own study
  • Classes, lectures and study groups you teach yourself
  • In-house training at your own company or organization
  • On screen in videos you record yourself for those classes or trainings
  • Editing the wording or reordering slides for those uses
  • Handing out the slide files themselves (PDF, PNG, HTML) to learners or anyone else
  • Selling the slides, or edited versions of them, or including them in paid materials
  • Posting them anywhere public (websites, social media, public videos on video sites, etc.)
  • Removing the 4peiron.dev credit and presenting them as your own work

4peiron.dev keeps the copyright. What you buy is the right to use the slides as described above. The same terms are in README.txt inside the ZIP.

Contents

1

ビットとバイト(メモリの中の並びを見る)

10 slides

2

整数はあふれて一周する(補数と桁あふれ)

12 slides

3

浮動小数点は近い値しか持てない

13 slides

4

文字コード(UTF-8 のバイト列を開く)

25 slides

5

コンパイラが出すもの(arm64 アセンブリを読む)

11 slides

6

条件分岐とループの正体

12 slides

7

関数呼び出しとスタックフレーム

13 slides

8

最適化で、書いたコードは何になるのか

11 slides

9

パイプラインと分岐予測(外れると 9 倍遅い)

12 slides

10

システムコールは、ただの関数呼び出しではない

12 slides

11

アドレス空間の地図を描く

12 slides

12

スタックとヒープ(寿命の違い)

11 slides

13

malloc は OS から何を借りているのか

13 slides

14

キャッシュ(読む順番だけで 8 倍変わる)

13 slides

15

仮想メモリとページング(ページフォルトを数える)

24 slides

16

mmap でファイルをメモリとして読む

14 slides

17

fork(1 行から 2 つのプロセスが出てくる)

12 slides

18

exec(自分を別のプログラムに入れ替える)

13 slides

19

コンテキストスイッチ(切り替えの値段を測る)

14 slides

20

スレッド(何が共有され、何が分かれるのか)

13 slides

21

競合状態(80 万が 20 万になる)

12 slides

22

排他制御(mutex と atomic の値段)

14 slides

23

ファイルディスクリプタは、ただの番号

14 slides

24

バッファリング(write を 20 万回か、数千回か)

15 slides

25

パイプとリダイレクト(シェルを自分で組み立てる)

12 slides

26

シグナル(非同期に割り込まれる)

14 slides

27

I/O 多重化(1 本のスレッドで、複数を待つ)

14 slides

28

権限の境界(カーネルが何を守っているのか)

13 slides

29

コンテナは何を分けているのか

13 slides

30

./hello と打ってから、終わるまで

14 slides

The lesson text is on the course page. Slides are sold separately from the membership; members also need to buy them. Refunds follow the Terms of Service.