Skip to content

Releases

unstable 0.8.0

unstable 0.8.0 Pre-release
Pre-release

Choose a tag to compare

@mehdi-berel mehdi-berel released this 10 Nov 14:25

Unstable prerelease — self-hosted Fides compiler, not for production.

Highlights

  • Full Unicode normalization (NFC / NFD / NFKC / NFKD), verified against Python's unicodedata on both backends
  • Crypto test vectors: ChaCha20, Poly1305, ChaCha20-Poly1305 AEAD, HKDF (RFC 8439 / 5869)
  • fid lint --perf — loop-hazard warnings (string concat, remove(0), linear scans)
  • fid explain / fid explain --alloc — removed/kept runtime checks and allocation sites
  • Doc examples runnable via scripts/doctest.py
  • Bootstrap interpreter fix: whole-struct reassignment silently dropped (bigint_pow / poly1305 returned wrong values)
  • Known: PE backend truncates large by-value array params (see docs/reference/known-bugs.md)

Ships: fid.exe (self-hosted), fidesc.exe, ark, scribe, veil, stdlib, docs.

Fides v1.0.0 — Self-Hosted Compiler

Choose a tag to compare

@mehdi-berel mehdi-berel released this 09 Sep 13:44

Fides Language v1.0.0

First stable release of the Fides programming language — a self-hosted,
systems programming language with a focus on safety, performance, and
bare-metal capability.

Highlights

Self-Hosted Compiler

  • 31 modules, 75,000 LOC written in Fides (compiler/*.fd)
  • Fixpoint verified: c3 can type-check and borrow-check itself
  • 3 backends: Interpreter, C Codegen, PE Emitter
  • 38/38 self-host tests pass on all 3 backends

Standard Library — 99 modules

  • Core: core, vec, string, math, fmt, hash, sort, random
  • Collections: stack, queue, collections, result
  • I/O: file, fs, io, os, sys, process, args, env
  • Crypto: crypto, hash
  • Data: json, regex, uuid, path
  • ML/AI: tensor, quant, dp, shard, kv_cache
  • Game: ecs, events, physics, audio, input, sprite, tilemap
  • Safety: clinical, medical, ecu, scada, arinc, can, swift
  • And more: http, db, streaming, scene, flowfield, simd

Safety Annotations

  • @no-alloc, @no-panic, @crashfree, @deterministic
  • @medical, @safety-critical, @autosar
  • @conserve, @constant_time, @realtime
  • @differentiable, @quantized, @dp, @shard, @checkpoint
  • @gas(N), @tainted, @allocator
  • given/ensure contracts
  • All 13 annotations now enforce effect-based rules

Bare-Metal / OS Support

  • --bare and --no-std compilation modes
  • Inline assembly with clobber lists
  • @interrupt, @naked, @packed attributes
  • 50+ bare-metal builtins (port I/O, MSR, CPUID, paging, GDT/IDT)
  • Multiboot2 and UEFI boot support
  • OS project: fides-os

Windows Installer

  • NSIS installer with PATH setup, .fd file association
  • Download: Fides-Setup-1.0.0.exe (attached below once CI builds it)
  • Or build from source: ./installer/build-installer.sh

Installation

Windows

Download Fides-Setup-1.0.0.exe from the assets below and run it.

Build from Source

git clone https://github.com/pledgeandgrow/p-lang.git
cd p-lang
cargo build --release
./target/release/fidesc build-selfhost

Quick Start

fides ccompile hello.fd -o hello.exe
./hello.exe

Verification

Self-host tests:  38/38 passed (Interpreter, C Codegen, PE Emitter)
Bootstrap:        All standard tests pass
Fixpoint:         c3 type-checks + borrow-checks the full compiler

Known Limitations

  • C codegen of the full 75K LOC compiler hits a memory segfault (normal programs work fine)
  • given/ensure contract evaluation requires comptime support (recognition only)
  • Result<T,E>/Option generic types still hardcoded to i64 (CB2)
  • Parser error recovery needs hardening (CB4)

License

MIT — see installer/license.txt


The Windows installer (.exe) will appear in the assets below once the GitHub Actions workflow completes building it.