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.

Build: link with mold or lld when found, and keep the toolchain in the build directory (issues #103, #110, #111)

Linking uses `-fuse-ld=mold`, else `lld`, when one is on PATH, and the
compiler's default otherwise; LOUISE_LD=bfd|lld|mold forces one. The found
linker is not test-linked first (35 ms per cold build): a link that fails
with it is retried with the default, which the build directory then keeps.
The musttail probe's result is kept in build/cache/toolchain, keyed on the
settings, PATH and the candidates' paths and modification times.

bench-compile.sh, best of 5, against LOUISE_LD=bfd: warm builds 124-138 ->
62-75 ms (-45% to -50%); std_tour debug cold 197 -> 143 ms, which meets
#103's target (half of 302 ms). ADR 0025 note.

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

olivier · il y a 1 mois · ec286969d12b1b8f944b9538248c59cf700efb20

Parents bf82333

5 fichiers modifiés, 334 ajouts, 67 suppressions