abraxas 9 hours ago

I think Java might be the best language for LLMs to use in an agentic mode. It has an extensive and well documented standard library. It's fairly type stringent without the escape hatch of an Unknown type (yeah, I know you can beat that in various ways but it's not idiomatic Java) and it compiles fast (within the context of actual java files - maven craziness excepted). In that sense it's a language in which an LLM can easily and quickly verify syntax correctness in a quick iteration loop. I don't think any other language has the sweet spot of Java for an LLM. Java was made for a mediocre developer as a C++ with guard rails and that's exactly what an LLM agent needs to be effective as this is what a SOTA LLM is - a mediocre developer that happens to know a lot of coding patterns.