OCaml creator Xavier Leroy explains formal verification and the challenge of “almost-correct” LLM code

nicolascraske · x · 2026-07-21

A podcast interview with **Xavier Leroy**, creator of OCaml, covers compiler design, formal verification, and how to think about LLM-generated code that is “almost correct.” - Topics include OCaml vs. Rust and JavaScript. - It explains what formal verification is and how it works in practice. - The discussion also touches on cross-language boundaries and type inference. - One of the more AI-relevant angles is how to deal with code that looks right but isn’t fully correct when produced by LLMs. - Links are provided for YouTube, Spotify, Apple Podcasts, and the transcript.

Original post →

More from coding & agent

coding & agent channel →