One LLVM back end; drx publish, tune and replay; cluster substrate and Merged values
- Native code
The spec now names one code generator, LLVM:
devandtestbuilds run it without the optimizer,releaseandproofwith it. The tier contract binds the release optimizer, so a release build prints, byte for byte, what adevbuild of the same program prints and exits with the same status.Floatarithmetic is IEEE 754 binary64 at every tier with no fast-math, and the only law-driven rewrites are a catalogue of three over folds (split fold, strided accumulation, parallel reduction), each consuming only exact laws at or above the target's minimum mode. - Toolchain
drx publishis new. A path dependency isAX0202, and a missing version, or one below the minimum that the changes to the public surface since the last published bundle force, isAX0203. The package must also match its lock, check, and pass verification atrelease.--dry-run <dir>writes the bundle (package card, compiled summaries, surface and trust records, source) into a local registry directory, and a package card over its budget is published whole with the warningAX0204. - Toolchain
drx tuneenumerates an@autotuneblock's search space in source order and decides every law gate before measuring: a candidate whose gate fails is reported with its code, such asAX0701, and never runs. The fastest measured candidate is written as a_pinnedschedule, with a[[schedule]]row in an existingdraconyx.lock, whiledrx benchruns the same search and writes nothing.drx run --record <dir>records a run's service traffic and a hash of every training step, anddrx replayre-runs the program from that recording alone, up to a given step, and reports the first step whose hash differs. - Syntax
A module that activates a dialect with
use extensionnow parses that dialect's forms where they are written. Each dialect is checked when it loads, and so are the dialects one module activates against each other, under eight new codes fromAX0901toAX0908, such as two dialects reserving one keyword (AX0907).drx gen schemawrites a PostgreSQL database's tables as a checked-in module ofQuerytabledeclarations. A column outside its type map isAX0826, and--checkreports drift asAX0827. - Agent daemon
Several clients can now reach one workspace daemon at once, each on its own connection, and
initializegives each a client identity. A fork's one writer is the client that created it. A write,drop-forkormerge-forkfrom any other client is the new error kindfork-writer-held, and asking for an identity another live connection holds isclient-identity-held. - Standard library
Every binary now carries a cluster substrate: SWIM membership with gossip, failure detection decided by majority, joining through one seed address, and 256 shards rebalanced on every join and leave. The
[deploy]keyclusterswitches it on,cluster_seedandcluster_listengive its addresses, and the environment can override each.std.distgainsMerged<T>, a replicatedMergeablevalue whose writes and reads are local on either side of a partition and whose replicas converge throughT's ownmergeonce the partition heals. - Safety
Each
[native]library's[permissions]row is now checked by the library's mode. Anin_processlibrary whose row is missing or is a list isAX0830, with an edit that writes"unbounded", and"unbounded"on any other row isAX0831. A sandboxed or isolated library with no row is budgeted to nothing. - Types
An explicit
fromwhose argument already has the target type is now the identity conversion and needs no conversion function. Afrominto a type with no conversion from the argument's type is now oneAX0420naming the missing conformance, such asFrom<Int>, instead ofAX1001besideAX1007.Pytreeis now derived structurally: a struct, tuple,ListorArraythrough which a tensor is reachable is one, so the standard library's tree walks and checkpoint functions carry theirPytreebounds.