Hacker News new | ask | show | jobs
by monkpit 69 days ago
> You see this already, LLMs are a lot more reliable in statically typed languages with strong memory guarantees (like typescript or rust) than in weaker languages.

It’s common advice to wire in deterministic feedback to your workflow with LLMs - static languages aren’t inherently better for LLMs, it’s that LLMs produce better code when given deterministic feedback, such as compiler results.

1 comments

Yes, this was my point, formal proof static analysis makes LLM output better. Therefor a language with far higher requirements on formal proofing (to the point it becomes very difficult for humans to understand) might end up being better to use by an LLM.

Of course it is not that simple as a large part of how effective LLMs are is due to training data which is hard to get for a new language.