Hacker News new | ask | show | jobs
by throwawayy6767 50 days ago
Rust is fast, both at run and compile time (both important for the speed of the agent loop), its nazi compiler excludes many categories of errors that LLMs might make, the compiler's helpful error messages give precious hints for the agent to iterate upon, it's relatively new so not encumbered with half a century of legacy cruft with obsolete syntax, it has many modern first class features, it neatly compiles into a single portable executable. It's the language that's best positioned to mitigate the issues of LLMs while leveraging their (and its own) strength.
3 comments

I don't disagree with your other points, but calling Rust fast at compile time is... questionable.

I've been doing Rust full time for the last half-decade and hobby before that, and its slow compile times have always been a pain point.

And I've found its slow cycle around compile-then-test is a real pain point with agentic development. Agents get into loops trying things out, and verifying their results, and they tend to accumulate a pile of tests on top of that (which require periodic cleanup). Forward progress often gets successively more slow and painful as compile times start to dominate most of what the agent is doing.

For application -- not systems dev work -- I've been considering making a move to using something like OCaml instead.

> it neatly compiles into a single portable executable.

Not quite the advantage in the AI era. Quite the contrary. Dynamic linking is something Rust will have to solve.

You are getting unfairly downvoted for speaking the truth. Well, except for the compile-time being fast.