Every update as it lands, from the seed compiler to the self-hosted release compiler. The unabridged engineering log lives in the repository. Subscribe via RSS.
fid emit writes static Linux executables for x86-64, ARM64 and RISC-V, assignment of a Vec, HashMap or str gives an independent value, values are freed at the end of their scope, native async works again, the compiler compiles itself in about 40 s, and bare-metal kernels boot under QEMU. v0.8.0-unstable is on the releases page.
Generics infer or reject, if and match are values, @cfg filters items, the compiler frees locals it can prove finished, the borrow checker catches iterator invalidation, spawn checks @send, owned and borrowed strings make a scoped HTTP server safe, and 17 safety rules each have negative tests and fid qualify evidence. Not in a release yet.
Integers are now checked at their declared width on every backend, p_free panics on double-free and invalid frees, a size-class allocator plus an escape pass took the dropped-Vec benchmark from 544 MB to 6 MB, and self-hosted type checking went from 205 s to 15 s.
fid emit compiles the entire 104K-line compiler straight to an .exe (no assembler, no linker, no C compiler), and the output is byte-identical to the emitter that produced it. It is also faster than the C build.
fid.exe (the compiler written in Fid) is what the installer ships. It matches the Rust compiler on all 302 test programs through run and on 242/243 through ccompile, the release bootstrap checks the fixpoint on every build, and a Fides runtime for the PE backend runs every test natively on Windows.
Four hardening sessions in one sweep: references became second-class citizens (they can no longer dangle), the taint/zeroize/secret checks were made sound, a post-codegen verifier scans final x86-64 assembly for constant-time violations, and the branches consolidated.
Effect handlers gained real continuations (do + resume), spawn scope joins every task at the brace, cancel scope stops them, and async I/O is now just another effect. Plus a Chaitin-Briggs register allocator and deterministic PE output.
Five bootstrap generations, and the fourth and fifth produce identical C output: fides-c4.c == fides-c5.c, 29,763,762 bytes. The self-hosted compiler now fully compiles itself. Seven Rust-to-Fid gaps closed on the way.
All ten rewritten compiler modules now compile: 18,329 lines of Fid, including a 4,989-line parser building to a 384KB native executable with zero external tools.
The skip list went from 42 to 0, known-fails from 10 to 0. 165/165 tests on the PE emitter, 265/265 unit tests, and a real debugging toolkit for the compiler itself.
Compile-time financial conservation, linear types, transactions, gas budgets, crash-free proofs, contracts, and typed strings: the safety annotation cluster lands.