tobogganSe connecter

packages

The Louise packages, each released on its own

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

M7 (part 1): native dependencies, blocking externs, resources, argon2

- tilcayo.toml:
  - path [dependencies]: a dependency's modules are `name` and
    `name/...`, and a package's own lib.til has its name;
  - [native.*] kinds c, static, pkg-config and cargo, built and linked by
    the driver (C objects are cached).
- `@extern(c, "sym", blocking)` runs the call on a four-thread pool while
  the actor parks. A kill of that actor waits until the call returns.
- Resource<t> (std/ffi): a foreign pointer with a finalizer, pinned
  unless thread-safe.
- std/random (salts, tokens), and string starts_with/ends_with/contains.
  Prelude Eq/Show/Debug for Result.
- tilrt.h: Result/Option/Bool builders for C shims. runtime/tilcayo-ffi
  provides the same for Rust bindings.
- `tilc test --native`: one executable for all tests, each test in its
  own process. Exact prototypes for foreign functions.
- packages/argon2: the vendored reference implementation (release
  20190702) and a shim. Its tests include a known answer computed with
  argon2-cffi. CI runs them.
- ADR 0005 Revision 1 (proposed): the extern convention and the
  decisions above.

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

olivier · il y a 1 mois · 0ac45b6abfc63837648bd89f7d9e1bf5e42b0ac9

18 fichiers modifiés, 3761 ajouts, 0 suppressions

Aargon2/vendor/argon2/include/argon2.h+437−0
Aargon2/vendor/argon2/src/argon2.c+452−0
Aargon2/vendor/argon2/src/blake2/blake2-impl.h+156−0
Aargon2/vendor/argon2/src/blake2/blake2.h+89−0
Aargon2/vendor/argon2/src/blake2/blake2b.c+390−0
Aargon2/vendor/argon2/src/blake2/blamka-round-ref.h+56−0
Aargon2/vendor/argon2/src/core.c+648−0
Aargon2/vendor/argon2/src/core.h+228−0
Aargon2/vendor/argon2/src/encoding.c+463−0
Aargon2/vendor/argon2/src/encoding.h+57−0
Aargon2/vendor/argon2/src/thread.c+57−0
Aargon2/vendor/argon2/src/thread.h+67−0