Prediction: within 2 years most code will be written in Lean4 and compile faster than Rust or C

hargup13 · x · 2026-11-04

Three bold predictions circulating on X: 1) In less than 2 years most code will be written in Lean4 or an equivalent formal language; 2) The final binaries will be faster than Rust or C; 3) Compiler architecture will change, with built-in intelligence and drastically more aggressive optimizations.

The implicit logic: AI collapses the cost of formal verification, allowing compilers to rewrite and optimize code far more aggressively under formal guarantees. A provocative take worth discussing.

Original post →

More from AGI Musings

AGI Musings channel →