Why Rust Is The New GOAT For AI

Better Stack
291,204 views •

The Copilot runtime was rewritten in Rust and starting a session fell from over five seconds to under 300 milliseconds. The Codex CLI and Bun made the same move, and tokenizers, tiktoken, Pydantic and uv already run on Rust underneath. If you build AI tools or write Python for a living, here's why this keeps happening. 🔗 Relevant Links https://rust-lang.org ❤️ More about us Radically better observability stack: https://betterstack.com/ Written tutorials: https://betterstack.com/community/ Example projects: https://github.com/BetterStackHQ 📱 Socials Twitter: https://twitter.com/betterstackhq Instagram: https://www.instagram.com/betterstackhq/ TikTok: https://www.tiktok.com/@betterstack LinkedIn: https://www.linkedin.com/company/betterstack 📌 Chapters: 0:00 "Rust" vs Python for AI 0:45 Why Rust was invented 1:24 Why memory causes crashes 2:10 The garbage collector problem 2:33 How Rust handles memory 2:57 How Copilot dropped to 292ms 3:49 Why developers love Rust 4:24 Rust and AI agents 4:58 Python runs on Rust 5:34 Rust on the GPU

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close