summaryrefslogtreecommitdiff
path: root/skills/chapter25-codex-notes.md
Commit message (Collapse)AuthorAgeFilesLines
* Checkpoint Allocation2 before separate-compilation redesignch33Cliff Click3 days1-303/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the legacy allocation planner, deletion proof engine, and independent FunctionEffects pass with Allocation2 as the sole allocation-analysis phase. Keep one Site per optimized allocation/static object, per-site weak field facts, dependency-driven escape propagation, incoming-edge counts, and points-to dumps. Move the shared node WorkList into util. Normalize Never exits before allocation analysis and TypeCheck while preserving semantic nonreturning summaries. Keep internal class-init call dependencies out of global escapes, sharpen hidden private-memory defaults, refresh singleton constant escape sets after type closure, and publish field-local escape facts. Detach unloaded summary wrappers from scheduling roots. Retain declaration metadata and optimized return states in C0DA objects without legacy contracts. Keep qualified forward type names separate from expression member access, allow peepholes to return dead self, and retain the supporting regressions. Use integer types for symbolic field offsets and Opto-high uninitialized fields. Make Breakout's debounce helper private. Remove disabled escape implementations, obsolete null assertions, duplicate graphics compilation, survey runners/results, investigation transcripts, and source archives. Consolidate the selected ownership, lifetime, storage, deletion, and growing-array designs with their rationale/examples and academic references. Replace the obsolete Chapter33 handoff in the AI notes with current guidance. This is an unfinished analysis checkpoint. Imported pointer identities, transitive escapes, intrinsic calls, construction checks, and cofinite-summary universe rebasing still need work. Import loading order is unchanged. Validation: main/test compilation and git diff --check pass. Before/after make -k -j8 tests_nographics both report 825 executions and 78 failures, with unchanged extracted failure names; all lattice shards pass. Chapter33 retains its three failing deletion/imported-identity/transitive-escape regressions.
* Next round auto-mem analysis doneCliff Click10 days1-9/+171
|
* Simple loops, loop escapes and loop scratchCliff Click12 days1-3/+62
| | | | | | Move LoopTree finding earlier. KeepAlive to force raw ptr->int to keep bytes handed to native code alive. (not sure this is worth it, alternative is to just pass the ptr)
* Basic first implementationCliff Click13 days1-3/+73
| | | | Walk a Call Graph DAG. Find allocation sites; find uses for those objects; move the allocation to the common shared call point. Limited in all sorts of ways.
* First cut ch33Cliff Click2026-11-171-2/+17
|
* Another round of test speedupCliff Click2026-11-161-0/+11
| | | | | | More TestType lattice test speedups. Collapse together some expensive tests. Trim some tests from `sanity` target
* Phi fixCliff Click2026-11-161-0/+14
| | | | | Fix Phi/Add refactoring peephole to canonicalize regardless of peephole order. Treat class fcns as having `self` be the class pointer
* Split off chapter 31Cliff Click2026-11-151-3/+18
| | | | Ch 32 will be focused on compiler performance issues.
* Graphics now allow resizemainCliff Click2026-11-151-122/+86
| | | | | | Reorganize docs. Fix bugs X86 LOad+cmp scheduling. Math intrinsics
* ch31 early push needs reviewCliff Click2026-11-121-0/+24
|
* Add audio, overhaul makefilesCliff Click2026-11-121-1/+15
| | | | | Adds simple audio support to Simple Overhaul makefiles; remove common boilerplate; make them more uniform
* graphic tictactoeCliff Click2026-11-121-3/+13
| | | | Hex & octal digits
* Start Chapter 31 from the completed Chapter 30 compilerCliff Click2026-11-121-3/+11
|
* Better error messagesch30Cliff Click2026-11-081-2/+37
| | | | | | | | Better error messages. Buffs to the std lib; getch() to fetch a single character; streaming I/O handles retries, and large sizes, with better error reporting. Formatted strings. Default int moved to i32. TicTacToe, the game.
* Start Chapter 30 from the completed Chapter 29 compilerCliff Click2026-11-071-1/+10
|
* Partial objects allow field readingescape-flowCliff Click2026-11-071-0/+13
| | | | Still type safe, but broader usability for partial-init objects
* Cleanup public escapesCliff Click2026-11-061-22/+146
| | | | | | Drop "frozen" public escapes, and recompute in Start/Stop so Opto gets a precise escape set. Rename XInt.free -> XInt.alloc Fix some String tests to not escape by default
* Remove a bunch of extra graph walks pre-Optoch29-cleanupCliff Click2026-11-051-6/+62
| | | | | Removed most; moved a few into Opto setup pass. Lots of modest bug fixes
* Early version of safe using partial construcitonCliff Click2026-11-031-14/+43
|
* First cut parser splitCliff Click2026-11-011-6/+8
|
* Add Chapter 29 for tech debt cleanup with the parser splitCliff Click2026-11-011-14/+23
| | | | | | Keep Chapter 28b intact and carry the grammar-oriented parser package, Var move, IterPeeps move, and parser regression tests into Chapter 29. Defer privacy and exclude its experimental tests and fixture changes. Register the chapter in the indexes, IntelliJ modules and run configurations, Maven reactor, roadmap, and linear-history publisher. Windows and Linux each pass 573 tests, release builds, 199 allocation replays, and 29 native checks.
* Skills updateCliff Click2026-10-291-4/+62
|
* Remove several instances of extra whole-graph walksCliff Click2026-10-271-1/+1
|
* More incremental loadingCliff Click2026-10-261-4/+35
| | | | and compilation.
* Retire EvalutatorCliff Click2026-10-251-0/+4
| | | | Minor rounding bug in eval2
* Cleanup docsCliff Click2026-10-251-15/+20
|
* Fix ++x in methodsCliff Click2026-10-251-1/+7
| | | | Fix ideaj setups
* Finish chapter numbering, retire combined chapter 24, and update documentationCliff Click2026-10-241-17/+22
|
* module splitCliff Click2026-10-241-1/+16
|
* Split out escape analysis chapterCliff Click2026-10-231-1/+12
|
* Split out the constructor chapterCliff Click2026-10-221-1/+15
|
* Split out incomplete type analysisCliff Click2026-10-221-2/+13
|
* Split from ch25, SCCP and interprocedural SCCPCliff Click2026-10-191-0/+22
|
* Fix a missed int-widening around recursionCliff Click2026-10-191-0/+7
|
* Turn off Store GVN with explainationCliff Click2026-10-191-10/+20
|
* Fix memory on Load splitting upCliff Click2026-10-191-4/+20
|
* Cleanup & backportclinitCliff Click2026-10-181-33/+74
| | | | The phase rework, made new phases explicit and add them to the CodeGen driver. Fix the flag-spilling on X86 and ARM. Fix the GCM conservative anti-deps and backport.
* Phase cleanup heading into CLInit expansionCliff Click2026-10-171-0/+29
|
* Class cycles init checksCliff Click2026-10-171-0/+15
|
* Check for cyclic class init before we emit codeCliff Click2026-10-121-0/+2
|
* More test case vs RA cleanupCliff Click2026-10-071-0/+18
| | | | | Missing a few risc/arm encodings. Make private many tests, so they don't escape and the escaped fcn inflate x86 spill numbers
* Towrds getting RA spill counts comparableCliff Click2026-10-071-3/+44
| | | | Ignore JIGs. Get test suites more conical, so reg alloc spill counts are comparable
* Make RA deterministicCliff Click2026-10-071-0/+12
|
* Pick up japanese transaltionpr262-doc-followupsCliff Click2026-10-071-1/+2
| | | | A bunch of minor README fixes, missing TOC, grammer cleanup
* Skills updateCliff Click2026-10-031-26/+46
|
* Chapter renumber, and split ch 17Cliff Click2026-10-031-5/+23
| | | | | | Renumber chapters 10a, 10b, 11, 12, 13, 14 -> 10, 11, 13, 12, [11,14]. Split ch 17 into a 17a and 17b; shuffle around im/mutable syntax to be consistent, and present it more slowly. THe new immutable syntax is pushed through all later chapters
* Fix bug loop tree depth on inf loopsCliff Click2026-10-021-2/+19
|
* Restore missing anti-dependence walkCliff Click2026-10-011-1/+4
|
* Move much of the ISA support to shared codeCliff Click2026-10-011-0/+9
| | | | The ISA shared handlers here are required for a proper compiler, but contain only trivial bit-massaging operations.
* Move debug printing into shared spaceCliff Click2026-10-011-10/+19
| | | | Same as the graph viewer, moves a lot of code out of all Nodes