You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D28 ruling 1 (Eric, 2026-07-31, on the #744 brief): str is owned and
drops — the second half of the #691 wide flip proceeds. Spec §2.3 rules 1–3
and §15.1 already classify str (= String) as owning + Drop and
recursively exclude it from Copy; the flip makes that text true at
runtime.
De-Copy audit: the shipped Copy-with-str tokens lose Copy as
interim conformance — JsonView (lib/std/json.w:22), Package, ProjectInfo, Diagnostics (lib/std/build.w:255-270) — boundaries
borrow; D5 auto-referencing keeps call sites spelled identically. Sweep
the remaining ~95 impl Copy sites for str-bearing fields.
Un-pin: delete the D28 ruling-3 cap override in emitc_migrate_compiler_c (build/emit_c.w) — the flip is its named
revert condition. Expected effect measured in c-migrate: compiler-C migration exceeds the 64 GiB memory cap #744: the compiler-C
migration's ~68 GB transient peak collapses to its live set, back under
the 64 GiB default cap.
Notes
D27 ruling 1's INTENT (by-value view-token signatures) survives; the
by-value JsonView Copy pattern is restored when ephemeral view-structs
land (D28 ruling 2, separate campaign issue).
Rejected alternatives are recorded in D28: Swift-style CoW/ARC str and
Vale-style shared-immutable str.
Triage 2026-08-31: CLOSE (campaign complete). 85bfc45 records completion; the tree reseeded through it; probes confirm str buffers free on drop (1000 dropped f-strings → leaks --atExit reports 0), de-Copy/ephemeral restore done, D28 cap pin deleted. D30 sequencing follows as its own tracker (#761).
Activity
docs: D29 — implicit std availability ruled; spec states the destinat…
c-migrate: index record/typedef name lookups; widen session string co…
docs: handoff — roundtrip migrate blocked on #747 memory wall; overfl…
docs: handoff — #747 str flip mechanics in working tree; 37-site fall…
docs: handoff — #747 session-2: is_copy default-tail fix, 37→0 moves,…
compiler/std: #747 groundwork — de-Copy str-bearing view tokens; owne…
docs: handoff — #747 groundwork committed; flip is 3 hunks; 5,694-sit…
std/tools: #747 — find_all reads spans before the push; param-borrow …
codegen: unwire premature str drop dispatch (#747)
foundation: clone InternPool resolve returns (#747 groundwork follow-up)
comptime: share, don't deep-clone, on evaluator read paths
docs: handoff — #747 std clean, src residue 1319, Phase C plan
docs: handoff — #747 both-worlds gate: 39 unflipped sites in migrated…
docs: handoff — #747 blocker: &str extern ABI mixed-convention; 39 si…
docs: handoff — #747 cast fix + census
101 remaining items
docs: D30 runtime-retirement implementation plan (#761)
rt/std: net family observes via &str; std.tls/std.http compile again …
build: retire the #747 INTERIM seed pin — out/lib rt objects are stag…
tools: retire the #747 param-borrow fixpoint driver (campaign complete)
migrate: drop the hardcoded pcre2 STRING_* pointer block (dup/shadowing)
migrate: skip comma-list macros; string→pointer uses c-string spelling
migrate: coerce cfprintf's fprintf args to the callee's param types
ehartford commentedon Aug 31, 2026
Triage 2026-08-31: CLOSE (campaign complete). 85bfc45 records completion; the tree reseeded through it; probes confirm str buffers free on drop (1000 dropped f-strings → leaks --atExit reports 0), de-Copy/ephemeral restore done, D28 cap pin deleted. D30 sequencing follows as its own tracker (#761).
rt: with_str_from_cstr copies -- an owned str owns its bytes (withlan…
Sema: a value `if`/`match` arm that yields a whole binding moves it (#…
Restore Vec.clone in drop-state storage; pin the cross-unit receiver …
rt/std/compiler: read a `&str`'s bytes through `s as *const str`, whi…
&str is its own {ptr,len} view (ABI v8): returned string slices, stag…
D65: methods and trait impls of same-named types are their declaratio…