Skip to content

%loop hint for nondeterministic crashes on cycles#905

Merged
pkova merged 12 commits into
developfrom
dozreg/loop-hint-nondeterministic
Nov 12, 2025
Merged

%loop hint for nondeterministic crashes on cycles#905
pkova merged 12 commits into
developfrom
dozreg/loop-hint-nondeterministic

Conversation

@dozreg-toplud

@dozreg-toplud dozreg-toplud commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

Partially implements %loop hint proposed in UIP-0123.

The crash is nondeterministic: it cannot be caught with Nock virtualizing interpreters e.g. +mink, and it does not require changes to the +mink definition.

@dozreg-toplud dozreg-toplud requested a review from a team as a code owner October 30, 2025 17:10
@dozreg-toplud dozreg-toplud requested a review from joemfb October 30, 2025 17:19
Comment thread pkg/noun/allocate.h

c3_w off_w; // spin stack offset
c3_w fow_w; // spin stack overflow count
u3p(u3h_root) lop_p; // %loop hint set

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to be initialized on home road for existing piers. A real migration, or just a zero-check in find-home.

@dozreg-toplud dozreg-toplud requested a review from joemfb November 3, 2025 19:12

@joemfb joemfb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will do

@pkova pkova merged commit e910114 into develop Nov 12, 2025
2 checks passed
@pkova pkova deleted the dozreg/loop-hint-nondeterministic branch November 12, 2025 19:31
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.

3 participants