logoalt Hacker News

jolt42today at 4:41 AM3 repliesview on HN

I wonder if Rust becomes more popular with AI as Rust can help catch what AI misses, but then if that's the case then what about Haskell, or Lean, or?


Replies

EduardoBautistatoday at 10:04 AM

I think a lower amount of training data for Haskell might be a reason.

hu3today at 8:00 AM

For core system functionality maybe. But for most applications Rust slow compiler iteration speed becomes a bottleneck when the likes of TypeScript (with Bun) and Go have sub second iteration times.

Plus AI is also good at catching, in other languages, errors that Rust tooling enforces. Like race conditions, use after free, buffer overflows, lifetimes, etc.

So maybe AI will become to ultimate "rust checker" for any language.

show 1 reply
tayo42today at 5:40 AM

The way Haskell handles memory is weird and can be unpredictable.