tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

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

Design revision 1: regions for Ref, move/share/copy send, native ctl, zero-overhead unwinding, guaranteed tail calls, threads day one

Owner decisions of 2026-10-09, recorded as Revision 1 sections of
ADRs 0001-0004 and the runtime ABI (all proposed, for engineering review
in #2):
- 0002: Ref only inside `region { }` (Ref<h, a>, st<h>, no escape),
  refs cleared at region end, so cycles cannot outlive their region;
  send moves unique parts, shares large shared parts, copies small ones.
- 0003: ctl compiled natively by stack switching on pooled fibers
  (Lexa-style, one-shot); unwinding zero-overhead and table-driven
  after Zero-Overhead Lexical Effect Handlers (call-site tables,
  stack walker; C backend via -fexceptions + cleanup + forced unwind);
  guaranteed tail calls (loops, musttail with one uniform C signature)
  and tail recursion modulo cons in Core.
- 0004: multi-threaded work-stealing scheduler from day one.
- 0001: tail-call guarantee, Rust-style @test/@should_panic, @derive
  for Eq, Ord, Show, Hash, Default.

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

olivier · il y a 1 mois · 0f6cde42372f360866641bbd88c97e8972a6c6b0

Parents 4302b64

6 fichiers modifiés, 146 ajouts, 0 suppressions