v3.0.0 Released! 🚀
The AI-Native
Programming Language.
Ferrite is a compiler-first programming language built specifically for Artificial Intelligence and Machine Learning. Native tensors, compile-time shape verification, compiler-generated automatic differentiation, and high-performance native binaries.
tensor_multiply.fe
import "math";
// Compile-time validated tensor shapes
param features: Tensor<float, (100, 784)> = ones();
param weights: Tensor<float, (784, 10)> = rand();
infer {
// Built-in matrix multiplication operator
keep logits = features @ weights;
println("Output shape: " + str(shape(logits)));
}
Why Ferrite over Python?
Python is dynamically typed and relies on external runtime frameworks. Ferrite is built different.
The Old Way (Python)
- ❌ Runtime tensor errors
- ❌ Dynamic typing
- ❌ Framework-dependent
The Ferrite Way
- ✅ Compile-time tensor safety
- ✅ Strict Static typing
- ✅ Compiler-generated autodiff
Built for Performance
🦀
Rust Foundation
No GC overhead. Built on top of safe systems memory.
📐
Shape Checking
Math errors are caught at compile time, not in production.
⚡
AOT Binaries
Ship standalone executables to run anywhere instantly.