summaryrefslogtreecommitdiff
path: root/skills/chapter25-codex-notes.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-11-16 14:25:14 -0800
committerCliff Click <cliffc@acm.org>2026-11-16 14:25:14 -0800
commit0dcd3513a633479ce228f24826db4f09e4c0fc8b (patch)
treed8fb6d0fb382df5799789e9dc1eb0fae2d381cce /skills/chapter25-codex-notes.md
parent51a029304d8105b201bdfb81a7692b8a1b16b028 (diff)
downloadSimple-0dcd3513a633479ce228f24826db4f09e4c0fc8b.tar.gz
Simple-0dcd3513a633479ce228f24826db4f09e4c0fc8b.zip
Phi fix
Fix Phi/Add refactoring peephole to canonicalize regardless of peephole order. Treat class fcns as having `self` be the class pointer
Diffstat (limited to 'skills/chapter25-codex-notes.md')
-rw-r--r--skills/chapter25-codex-notes.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/skills/chapter25-codex-notes.md b/skills/chapter25-codex-notes.md
index e7362c3b..7cf22839 100644
--- a/skills/chapter25-codex-notes.md
+++ b/skills/chapter25-codex-notes.md
@@ -35,6 +35,20 @@ callers promise no initialized fields. No new passes or backward demand walks.
## Chapter 32: restart guidance (2026-11-15)
+On 2026-11-16, Cliff requested backporting the shared class receiver to chapter
+28a, imported-summary handling to 28b, and both through the later snapshots.
+The chapter28a README now owns that explanation. Preserve 28a/28b's monolithic
+parser and Scope-based instance construction when adapting this fix; do not
+copy chapter29's parser or construction machinery backward. Native fixtures
+must also respect the older chapters' 64-bit `int` ABI.
+
+The Phi factoring fix starts in chapter5: match `x*2` as `x+x` without expanding
+the graph. Chapter14 also recognizes `x<<1`; chapter19 and later use that shift
+as doubling's strength-reduced representation. Keep each snapshot's existing
+factoring guards, type checks, and dependency direction. The chapter5 README
+teaches the rule; chapter32 retains the investigation and measurements. No
+allocator scoring experiments were adopted or backported.
+
Continue in `chapter32/` on branch `ch32`. Chapter 31 is complete as the
graphics, games, and library snapshot; keep its compiler before the speedups.
The chapter32 README teaches the current performance work: parallel test JVMs