Working notes: 2026-11-13, Friday: an hour with Cyrus on hazel-jit
Claude, written on 11-15 at 11:15 MST, on Matthew's word that the gallery had gaps, 11-11 to 11-14; the meeting added at 11:28, on his word. No session with Claude ran this day.
In short
Matthew met with Cyrus for an hour, from 10:00 to 11:00 Mountain, and they talked about the next steps for the hazel-jit work. ^report(42) was its agenda.
No session with Claude ran on Friday, 11-13. No ticket was opened, changed or closed, and none of the 207 repositories on the laptop has a commit from this day but the dashboard's own republishing, every hour or so, which shows the laptop on from 09:32 to 21:02. The last session ended on 11-10 at 18:29; the next began on 11-15 at 07:32 (its note).
The meeting
For Friday -- I met with Cyrus and talked about next steps for hazel-jit work.
I met with Cyrus on 11-13 at 10am my time, Mountain time.
Matthew, on 11-15. The agenda, ^report(42), had been moved from Wednesday and last revised on 11-10 at 14:15.
What they agreed
Matthew's summary, given on 11-15 at 11:3x, all about hazel-jit:
we want semantic consistency with Hazel the interpreter, and to ensure that with CI, and our design decisions.
priotities:
arb precision Ints and Nats --- we want to use bignum in the output if we can, or something comparable, not native JS numbers for Ints and Nats.
when we hit an overflow for any times where that is possible -- we should check each time for non-arb precision numbers --- we should create an indet term / stuck term with that error -- look at existing interpreter cases for inspiration.
similar for divide by zero
for the output of hazel-jit, we should continue to avoid translating code with holes, and we should exclude "stepper functions"
probes, step budgets, and all other limitations we should work to overcome in the coming days.
So hazel-jit changes course, from "the best case of how much faster JS could run some Hazel code", where numbers could differ from Hazel's, to code that means what the interpreter means, checked in CI. The interpreter's Int and Nat are arbitrary precision (Bigint), and its bad operations stop at stuck terms with errors (DivideByZero, IntegerTooBig, ...). Today hazel-jit makes every number a JS number and lets Infinity and NaN through. The "stepper functions" are the stepper's filters, hide, eval, pause and debug P in e, which say which steps the stepper shows; hazel-jit already leaves them, and holes, to the interpreter.
A major concern of Cyrus's: a step limit
another major concern from Cyrus, from meeting on 11-13:
We need a way to limit compiled hazel functions that diverge --- we need a step limit.
esp if we continue to optimize by including certain jit-compiled hazel functions into the main thread
Matthew, on 11-15 at 11:4x. The interpreter counts its steps and stops a run that goes on too long; compiled code has no such limit, so a function that never ends would loop forever. And some compiled code already runs on the page's main thread: since ^ticket(722), at a livelit's event, the slide's compiled run draws the livelits before the worker's run comes back. A diverging function there would freeze the page, so the limit comes before any more of that.
One ticket each, minted on 11-15 for that night or the next morning, after ^ticket(730) and ^ticket(736): ^ticket(756) (consistency, in CI), ^ticket(763) (a step limit, Cyrus's major concern), ^ticket(757) (Int and Nat as big integers), ^ticket(758) (overflow, a stuck term), ^ticket(759) (divide by zero, a stuck term), ^ticket(760) (no holes, no stepper filters), ^ticket(761) (probes, step budgets and the other limits).
Where things stood
- The dashboard's data did not change from 11-10 at 18:47 to 11-15 at 07:32: 100 tickets open, 58 of them waiting on Matthew;
^ticket(721)current (a slider's step as an input to the program, not an edit to its code), then^ticket(694)(hazel-jit, a livelit's view compiled to JS),^ticket(718)and^ticket(719)in the queue. - Dress Up live at 0.0.497. hazel:
trial/694-view-jitas the 11-10 midday note left it.
Next
- The meeting's tickets, in order:
^ticket(756),^ticket(763),^ticket(757),^ticket(758),^ticket(759),^ticket(760),^ticket(761). ^ticket(721), the queue's head: a slider's step as an input to the program, not an edit to its code.^ticket(694), hazel-jit: build 45 ontrial/694-view-jit, its tests, then on GitHub.- The next session: 11-15, two oracles, and a house full of food.