diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 22:48:05 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 22:48:24 -0300 |
| commit | 6c61169832d6f396ee7a6e9e0b09d9c055d08f8d (patch) | |
| tree | d07395a8c7aeee0c5583d3b94e36a37464e40e80 /docs/typ | |
| parent | b1b69886cce63c53f8407d2a37e29fd8876b5fe8 (diff) | |
| download | pardes-6c61169832d6f396ee7a6e9e0b09d9c055d08f8d.tar.gz pardes-6c61169832d6f396ee7a6e9e0b09d9c055d08f8d.zip | |
docs: three sentences the measurements and the user proved wrong, corrected: running.typ's window client "moves whole rows, with no glide" is "glides as the session's own window does: whole rows go to the session, and the picture moves between them on the client's own clock", and the chapter says what a client costs (10-16 MB a terminal's, about 110 MB a window's, the same as any window, mostly the GPU and display libraries); next-run.md's "+25 MB a client" made the measured figures (true for a terminal's, four or five times too small for a window's; the core is 1-2 MB of it), its "half true" wheel made "not so" (with the face-missing divergence), its Rex client row no longer a thin view: Rex replays the server's stream into its own libghostty and draws locally (the user's correction; the binary links libghostty), the same principle as pardes's, which adds a client applying its own input before the session confirms it; its open question on ps's word brought up to date; each cites .scratch/sketch/reports/pardes-measure.md; the book and the site compile (no code changed, so the suites and the corpus were not run again)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs/typ')
| -rw-r--r-- | docs/typ/running.typ | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/docs/typ/running.typ b/docs/typ/running.typ index 65498380..8177ec39 100644 --- a/docs/typ/running.typ +++ b/docs/typ/running.typ @@ -117,9 +117,15 @@ spelling of `attach work`. // same build, handed on); replica.zig:1-19 (speculation and rollback); // replica.zig:2013-2023, views.zig:31, Core.zig:1110-1153 (four views, the // session's own among them); replica.zig:2111-2133 (a client leaving); -// replica.zig:756-757 (a kind's code runs in no replica); gui.zig:2147-2150 -// (a client's notch: whole rows, no glide); gui.zig:580-608 (a client's -// font: the session's request, by the face's name on this machine). +// replica.zig:756-757 (a kind's code runs in no replica); gui.zig:2147-2161 +// (a client's notch: whole rows sent), :3544 (glideFrame: the picture on +// the client's clock); gui.zig:580-608 (a client's font: the session's +// request, by the face's name on this machine). Measured 2026-11-17 +// (.scratch/sketch/reports/pardes-measure.md sections A, C and E): a +// client's notch glides as the session's window does (5 frames, 0 to +// -22 px); a terminal's client 10-16 MB PSS idle, a window's about 110 MB +// (187 MB RSS), as a window session's, three quarters of it the GPU and +// display libraries. A session draws one frontend of its own, so the second attach is a client. The daemon checks the client's hello (the session's name, and the client's build: a client must be the build its session is) and hands its @@ -132,9 +138,14 @@ A session takes three clients: four views at once, its own among them. A client's #word("Detach"), or its terminal or window closing, ends that client only; the last client of a detached session leaves its layout as the session's, for the next one to find. In a client, an addon's panes -show what the session's code drew (the code runs only in the session); a -window client's wheel moves whole rows, with no glide, and it takes the -session's font only when the same face is installed on its machine. +show what the session's code drew (the code runs only in the session). A +window client's wheel glides as the session's own window does: whole rows +go to the session, and the picture moves between them on the client's own +clock. It takes the session's font only when the same face is installed on +its machine. A client costs what a frontend of its kind costs: 10-16 MB +for a terminal's, about 110 MB for a window's, the same as any window +(mostly the GPU and display libraries); its copy of the core is the small +part. = A far session <run-far> |
