tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

M6 (part 2): native actors — std/process, actors and supervisors compiled

- tilrt scheduler, with the interpreter's semantics:
  - mailboxes, typed subjects, receive with timeouts on a virtual clock;
  - links, monitors, trapped exits and kill (Erlang exit rules);
  - the same reduction budget and scheduling points, so outputs match
    the interpreter's exactly, including crash messages and pids;
  - logical exit is separated from unwinding: a killed actor is
    notified at once, then its fiber unwinds and releases what it holds.
- tilrt/process.rs: each actor receives a root `proc` capability whose
  clauses are runtime closures. Generated code performs proc like any
  `fn` operation, and codegen checks the operation order.
- Single scheduler thread: sending moves the message. Multiple threads
  and move/share/copy sending come next.
- Every tests/run program now runs natively, with 0 live blocks, also
  under ASan and UBSan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 9c92a3b0f045e5714626c3095fc0bdf6d4f38ada

Parents 2819763

10 fichiers modifiés, 860 ajouts, 128 suppressions