summary refs log tree commit diff
path: root/describe-heap.sed
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-04-17 13:31:13 -0700
committerIrene Knapp <ireneista@irenes.space>2026-04-17 13:31:13 -0700
commite20e90fde19dd94b1dce7a9b65eba77956d0213b (patch)
tree5a0f44e4bc1d5f0b6f5c437768fd7f5d8d1370c5 /describe-heap.sed
parent48de43f9ed9622e93a23b3636135e64d47eb7ecf (diff)
some stuff for dealing with circular buffers, implemented as heap words
by putting this directly on the heap, we allow it to work in the easy, obvious ways, at the cost of extreme verbosity.

the core abstractions here are "buffer", "input buffer", and "buffer metadata". the metadata struct is distinct from the backing store, though there is a convenience word to allocate them together. for communication purposes, the buffer "is" the metadata struct, and the "backing store" is where things are actually read from. all input buffers are buffers but someday not all buffers will be input buffers; note carefully how the various word names make this distinction.

Force-Push: yes
Change-Id: Ib85a74af046b42c8959c6edf93b83e2ad7f21be4
Diffstat (limited to 'describe-heap.sed')
0 files changed, 0 insertions, 0 deletions