Firefly - an F# compiler goes native to CPU, GPU and beyond
summary
Firefly compiler in the Fidelity Framework compiles F# through MLIR/LLVM to CPUs, GPUs and microcontrollers, producing tiny native binaries (demo hello world runs and the MLIR-built exe is ~5.5 KB vs .NET AOT ~3.5 MB) while calling Z3 twice for SMT checks during lowering. The pipeline uses F proofs and SMT asserts to lock invariants, runs opt_mlir passes, can embed verification certificates in the binary, and already interops with .NET, llama.cpp, Postgres/DuckDB and React front ends. Firefly compiler and verified binaries* are presented as working prototypes.
AI-written summary · about
