summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* restructure parsing vs loadingch33_wipCliff Click106 min.16-59/+373
| | | | Get all the new FIDXs loaded up-front, so loading infinite-extent sets can exclude the known
* Checkpoint Allocation2 before separate-compilation redesignch33Cliff Click3 days53-6094/+1179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* A redo of AllocationCliff Click5 days1-0/+460
|
* Create ownership-analysis-architecture-review.mdCliff Click10 days1-0/+79
|
* Next round auto-mem analysis doneCliff Click10 days34-115/+2980
|
* Simple loops, loop escapes and loop scratchCliff Click12 days27-168/+3048
| | | | | | 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 days15-24/+1652
| | | | 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.
* Update automatic-memory-management-survey.mdCliff Click2026-11-171-1/+54
|
* Update automatic-memory-management-survey.mdCliff Click2026-11-171-0/+202
|
* First cut ch33Cliff Click2026-11-17604-32/+59068
|
* Update README.mdch32Cliff Click2026-11-161-657/+185
|
* Another round of test speedupCliff Click2026-11-168-94/+286
| | | | | | More TestType lattice test speedups. Collapse together some expensive tests. Trim some tests from `sanity` target
* Phi fixCliff Click2026-11-16153-638/+3256
| | | | | Fix Phi/Add refactoring peephole to canonicalize regardless of peephole order. Treat class fcns as having `self` be the class pointer
* Packing Serialize tighterCliff Click2026-11-169-39/+260
|
* One more qucik speedup itemCliff Click2026-11-164-9/+67
|
* CI fixCliff Click2026-11-162-2/+4
|
* More cachingCliff Click2026-11-155-51/+106
| | | | and during RegAlloc, hang on to only a single fcn's BBs at a time
* Make MemMerge inputs packedCliff Click2026-11-156-37/+239
|
* Bunch of unrelated speedupsCliff Click2026-11-157-4/+166
| | | | And some modest tracking bugs
* Split off chapter 31Cliff Click2026-11-15601-28/+58359
| | | | Ch 32 will be focused on compiler performance issues.
* Graphics now allow resizemainCliff Click2026-11-1575-2010/+1372
| | | | | | Reorganize docs. Fix bugs X86 LOad+cmp scheduling. Math intrinsics
* CLeanup BreakoutCliff Click2026-11-1421-210/+870
| | | | | | | Fix a half-dozen compiler bugs; various kinds of forward refs and readable types. Allow read-only self-types; and read-only methods. Anonymous inner functions are treated as methods. Better error messages in many places.
* Breakout, Clock demosCliff Click2026-11-1475-523/+2117
| | | | | | | | | Math lib with simple constants raw bit converters TypeConAry unified Big Formatting change Debug symbols for constant data IterPeeps was endlessly running asserts with much inlining RegAlloc rounds raised
* Array init syntaxCliff Click2026-11-1324-109/+589
| | | | | | New array init syntax; used in a bunch of places. Allows e.g. read-only arrays with not-null entries. Fix bug x86 encoding of mem/cmp/fp compares
* Clean up Clock exampleCliff Click2026-11-132-17/+30
|
* Cleanp the new time & graphics APIsCliff Click2026-11-1318-135/+267
|
* ch31 early push needs reviewCliff Click2026-11-1245-158/+1268
|
* Scope time, cooperative timers, and animation for the next chapterch31Cliff Click2026-11-121-0/+85
|
* Add audio, overhaul makefilesCliff Click2026-11-1264-3841/+1131
| | | | | Adds simple audio support to Simple Overhaul makefiles; remove common boilerplate; make them more uniform
* graphic tictactoeCliff Click2026-11-1227-32/+711
| | | | Hex & octal digits
* Small load hoist bugfixCliff Click2026-11-122-11/+10
|
* First cut graphicsCliff Click2026-11-1217-8/+534
|
* Brainfuck uses aryu8Cliff Click2026-11-122-12/+21
|
* Start Chapter 31 from the completed Chapter 30 compilerCliff Click2026-11-12544-21/+52525
|
* BrainFuck uses aryu8Cliff Click2026-11-086-33/+54
|
* Better error messagesch30Cliff Click2026-11-08112-654/+2909
| | | | | | | | 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-07528-10/+50582
|
* Partial objects allow field readingescape-flowCliff Click2026-11-0723-127/+597
| | | | Still type safe, but broader usability for partial-init objects
* Cleanup public escapesCliff Click2026-11-06100-719/+1691
| | | | | | 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-0551-422/+1001
| | | | | Removed most; moved a few into Opto setup pass. Lots of modest bug fixes
* Early version of safe using partial construcitonCliff Click2026-11-0352-385/+1210
|
* First cut parser splitCliff Click2026-11-0128-218/+311
|
* Add Chapter 29 for tech debt cleanup with the parser splitCliff Click2026-11-01519-36/+48573
| | | | | | 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.
* Canonicalize aggregate memory duals and preserve field finalityCliff Click2026-10-306-18/+90
|
* Preserve escape bounds when splitting bulk memory PhisCliff Click2026-10-302-16/+8
|
* Skills updateCliff Click2026-10-292-25/+82
|
* Removing hook between encode and exportCliff Click2026-10-294-23/+82
|
* A more incremental StopCUCliff Click2026-10-2814-46/+120
| | | | Incremental summary of escape data in a single node, instead of repeated in StopCU over and over
* Backport some minor speedupsCliff Click2026-10-2878-356/+1543
|
* Remove _phase checks from Arith & ComputeCliff Click2026-10-2881-86/+1843
| | | | Fix some monotonicty bugs, rounding bugs, in float ops