From 4c7dcadeddaa50fb52fd44a2cc71df1f570e092a Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 12:08:00 -0300 Subject: design: the address space said with less; a word read low byte first; aligned in two forms From the user. The address space is a slim bar to true scale with its two ends written, each cluster enlarged once beside it, and every band carrying the addresses where it starts and stops and its size; no rulers, no factors. The stack's bytes on screen are tied to their place in it. regroup is drawn: a word's eight bytes fly out low byte first and land reversed as its sixteen digits. aligned has two forms a scene asks for by name: interleaved, a line as the head of its instructions, and columns, the source beside them with each line as tall as its run. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- design/mock/34-segments.svg | 264 ++++++++++++++++++-------------------------- 1 file changed, 105 insertions(+), 159 deletions(-) (limited to 'design/mock/34-segments.svg') diff --git a/design/mock/34-segments.svg b/design/mock/34-segments.svg index c37a4d4..5b3b61e 100644 --- a/design/mock/34-segments.svg +++ b/design/mock/34-segments.svg @@ -1,163 +1,109 @@ - - - -0 TiB - -16 TiB - -32 TiB - -48 TiB - -64 TiB - -80 TiB - -96 TiB - -112 TiB - -128 TiB - - - - - - - - - - - - - - - - - - - - - - -0x7fffffffffff · the user half's end -0 -above: 16 EiB not canonical, then the kernel's half - - - -0 MiB - -32 MiB - -64 MiB - -96 MiB - -128 MiB - -160 MiB - -192 MiB - -224 MiB - -256 MiB - - - - - - - - - - - - - - - - - - - -the top 256 MiB · × 500 000 - - - -0 MiB - -1 MiB - -2 MiB - -3 MiB - -4 MiB - - - - - - -r-x ld.so -180 KiB - - - - - -r-- ld.so.cache -260 KiB - - - - - - -r-- libc.so.6 -472 KiB - - -r-x libc.so.6 -1.5 MiB - - -r-- libc.so.6 -144 KiB - - -the libraries, 4 MiB · × 32 - - - -0 MiB - -4 MiB - -8 MiB - -12 MiB - -16 MiB - -20 MiB - - - - - - - -the bottom 20 MiB · × 7 000 000 - -rw- [stack] 132 KiB, rsp in it: a hairline even here - - -If this space were as tall as the Eiffel Tower, all the program has mapped would -be thinner than a hair: the stack a third of a micron, at the very top. + + + + + +7fffffffffff +0 +128 TiB + + + + + +rsp + +7ffffffff000 +rw- +132 KiB + +7ffffffde000 +[stack] + + + + + +r-x + + +r-- + + + + + + + + + + + + + + + +7ffff7fff000 +260 KiB + +7ffff7fbe000 + +7ffff7fb6000 +r-- +260 KiB + +7ffff7f75000 + +7ffff7e23000 +2.1 MiB + +7ffff7c00000 +ld.so +ld.so.cache +libc.so.6 + + + + + + + + + + + + +1025000 +rw- +132 KiB + +1004000 +rw- +4 KiB + +1003000 +r-- +4 KiB + +1002000 +r-x +4 KiB + +rip + +1001000 +r-- +4 KiB + +1000000 +[heap] + + + +list +If this bar were the Eiffel Tower, all that is mapped would be +7 µm thick: a tenth of a hair, split between its two ends. -- cgit v1.3