Szoke says Python, JavaScript, and TypeScript are common choices for agentic coding because they are familiar, have many libraries and examples, and are quick to run. But the flexibility that helps LLMs produce code also makes it easier for them to introduce subtle bugs. He argues that optimizing for code an LLM can write on its first try may be the wrong goal.
Why Rust is the Ideal Language for Vibe-Coding
Speaker
Daniel Szoke, Rust SDK maintainer at Sentry, explains why Rust’s compiler-enforced safety can make it a strong choice for AI-assisted coding at an AI Engineer event.
Types and tests can help, but Szoke says TypeScript and Python offer limited type safety, and tests cannot cover every input or guarantee correct behavior. Tests written after implementation may check implementation details, and LLM-generated tests and code reviews can also be flawed. Since LLMs make errors in ways that may be hard to anticipate, he argues for deterministic safeguards.
Szoke describes Rust as a compiled language designed for performance, memory safety, and type safety. Its compiler enforces rules around types, nullable values, and concurrency, while detailed error messages can help an AI agent diagnose and fix problems. For example, Rust’s `Option` type requires code to handle a potentially absent value before accessing it.
Szoke illustrates Rust’s concurrency checks with a counter shared across 100 threads. A `Rc<RefCell<i32>>` counter is not safe to send between threads, so Rust rejects the code and explains the issue; another language might let it run and produce an incorrect count intermittently. Rust code may take an LLM more tries to compile, but Szoke argues that an agent can use compiler errors to fix problems before they reach production.
Szoke notes that the presentation is sponsored by Sentry and invites attendees to visit the booth or discuss the talk. He mentions Sentry’s agent monitoring features and a QR code offer for three months of the business plan.
Takeaways
- Choose languages for the errors they prevent, not only for how quickly an LLM can produce code.
- Use compiler checks as a feedback loop: let an agent compile, inspect errors, and revise its code.
- Treat tests and AI code reviews as useful checks, not proof that every input behaves correctly.
- Prefer explicit representations of missing values and thread-safe shared state when reliability matters.
Mentioned in this talk
Search inside this talk
What was claimed 4
- works atDaniel Szoke works at
Sentry
Software Engineer (Python SDK, then maintainer of Sentry CLI and Rust SDK)“I'm the Rust SDK maintainer at Sentry”
YouTube Verified2 sources· Talk, Web· archived
- featureRust: The compiler enforces type safety, memory safety, and thread safety for shared data.
“if the code compiles, you can be reasonably confident that a lot of different types of bugs are not present”
YouTube Unverified1 source· Talk
- featureRust: Compiler errors provide context that AI agents can use to correct code.
“The compiler errors give you a lot of information about what went wrong and how to fix the problem.”
YouTube Unverified1 source· Talk
- feature
“We have agent monitoring features.”
YouTube Unverified1 source· Talk














