Skip to content

0.20.0 --- transfers at an offset; what a unit uses and a limit on it; openkal.region; openkal.prof and openkal.debug - #58

Merged
Sunrisepeak merged 4 commits into
mainfrom
openkal-0.20
Nov 1, 2026
Merged

Sunrisepeak merged 4 commits into
mainfrom
openkal-0.20

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Clause 11 entries 42-45; design .agents/docs/2026-11-02-openkal-0.20-design.md (mcpp ecosystem design part 3 §5). Implementations follow on branch openkal-0.20: openkal-linux 0.21.0, openkal-macos 0.18.0, openkal-windows 0.16.0, openkal-emscripten 0.9.0.

…; openkal.region; openkal.prof and openkal.debug

Clause 11 entries 42-45 (design .agents/docs/2026-11-02-openkal-0.20-design.md; mcpp part 3 §5).

- openkal.fs: kal_fs_read_at and kal_fs_write_at, which neither use nor move the file's position.
- openkal.process: kal_program_info gains memory_bytes and memory_peak_bytes (KAL_PINFO_MEMORY), readable after the end until the handle is released; kal_process_job_usage (members, memory; no peak); kal_process_job_limit with KAL_JOB_LIMIT_MEMORY, held HARD by the environment or SUPERVISED by the implementation at a stated interval, ending the whole unit; kal_process_wait reports KAL_TERMINATED_LIMIT.
- openkal.region (optional): reserve, commit, decommit, discard, release; KAL_REGION_PROP_OVERCOMMIT. An interface of its own, because openkal.memory is core (clauses 3.2, 6.1, 6.2).
- openkal.prof and openkal.debug (optional, a loader's, clause 12.3): counters and phase marks that cost nothing unmeasured; the name of an address from the symbol table.
- Conformance: transfers at offsets, a program's and a unit's memory, a limit that ends its unit, and the sections region, prof and debug.

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…tion a limit refused waits for its unit to end

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Sunrisepeak and others added 2 commits November 2, 2026 03:06
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
…imited program's end were observed with, as claims

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit 085599d into main Nov 1, 2026
12 checks passed
@Sunrisepeak
Sunrisepeak deleted the openkal-0.20 branch November 1, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant