raz / commit 14276032

commit
142760326f416d98cb192834943897aef8d6c412
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
201d9da2
PLAN.md: the safety thaw in two releases, v0.23.0 breaking nothing, v0.24.0 enforcing it

src/ and the library it imports must build with BOOT, which knows
neither []const nor SYSTEM. The Moss work moves to v0.25.0, the
clean-up to v0.26.0.

patch · log

1 file changed, +27 -15

PLAN.md (history) modified +27 -15

@@ -25,7 +25,7 @@
2525 - Tag `v0.22.0`; then, as a step of its own, move `BOOT` to it, so that
2626 `src/` and the library it imports may use what 10.36 brought.
2727
28-## 2. The safety thaw: v0.23.0
28+## 2. The safety thaw: v0.23.0, then v0.24.0
2929
3030 The scope, by the owner's word of 2026-10-26, after reviewing
3131 `MEM_PROPOSAL.md` whole with its appendices. raz doesn't promise memory
@@ -74,18 +74,30 @@
7474 3,000 uses, most in `lib/` (`Sys`, `Rt`, `Heap`, `Map`) and `src/`
7575 (`Scan`, `Link`, `Chunk`). All 31 atomics take `ADR`.
7676
77-1. The report's text, for the owner to review.
78-2. `tools/Mutate.raz` taught the two rewrites: `ADR` at a parameter
79- only dereferenced to `var` or `const`, and `SYSTEM.` where an
80- address is kept.
81-3. The compiler, a commit a piece; the library; the programs in `~/r`
82- it breaks, each mended.
83-4. Release, and the report's pages checked; then, a step of its own,
84- `BOOT` moved, `src/` imports `SYSTEM`, and the warning becomes an
85- error.
77+Two releases, by the owner's word of 2026-10-26, since `src/` and the
78+library it imports (`Buf`, `Files`, `Fmt`, `Heap`, `Mem`, `Out`, `Rt`,
79+`Str`, `Sys`, and `Lock` and `Bytes` under them) must build with
80+`BOOT`, which knows neither `[]const` nor `SYSTEM`:
8681
87-## 3. The Moss work: v0.24.0
82+1. The report's text, for the owner to review (drafted 2026-10-26).
83+2. **v0.23.0, which breaks nothing.** The compiler, a commit a piece,
84+ each with its part of the report: an array a call returns kept to
85+ the end of its procedure; atomics on a variable; `[]const T`;
86+ `SYSTEM`. The old forms are still taken, silently: a string literal
87+ into a `[]U8`, `ADR` and the rest without `SYSTEM`, an atomic given
88+ a pointer. The library: `Task`, `Guarded`, `Heap`'s debugging mode.
89+ `tools/Mutate.raz` taught the rewrites: `ADR` at a parameter only
90+ dereferenced to `var` or `const`, `SYSTEM.` where an address is
91+ kept, an atomic's `ADR` dropped, `[]const` where a slice is only
92+ read. Release, and the report's pages checked.
93+3. `BOOT` moved to v0.23.0, a step of its own.
94+4. **v0.24.0, which enforces it.** `lib/`, `src/`, `tools/`,
95+ `examples/` and the tests rewritten by `Mutate`, then the old forms
96+ made errors; the programs in `~/r` mended, each its own commit.
97+ Release.
8898
99+## 3. The Moss work: v0.25.0
100+
89101 1. Merge the branch `moss-platform-boundary`'s two plain fixes (a file's
90102 identity from `Sys.info`; a main file at the root), rebased on main.
91103 2. `Host`, as "The compiler on another host" in `PROPOSALS.md` asks:
@@ -100,12 +112,12 @@
100112
101113 ## 4. The hard freeze
102114
103-From v0.24.0 on: no more thaws. The language changes only to mend a
115+From v0.25.0 on: no more thaws. The language changes only to mend a
104116 defect; the library's core (appendix A) only to mend a defect or plug a
105117 very big gap; the rest of the library grows only conservatively, by
106118 what breaks no program, on the owner's word.
107119
108-## 5. Clean-up: v0.25.0, the last before 1.0
120+## 5. Clean-up: v0.26.0, the last before 1.0
109121
110122 The files that served the thaws are made a record, short and true:
111123
@@ -126,6 +138,6 @@
126138
127139 ## 6. 1.0
128140
129-No date. raz is 1.0 when use shows it: programs written against v0.25.0
141+No date. raz is 1.0 when use shows it: programs written against v0.26.0
130142 for long enough that no defect is outstanding. Until then it is
131-0.25.x, mending defects only.
143+0.26.x, mending defects only.