Speculation that dense languages with simple primitives perform better with LLMs, one-shot performance comparisons across programming languages
← Back to Harness engineering: Leveraging Codex in an agent-first world
Observations suggest that programming languages with high density and simple primitives, such as Clojure, may allow LLMs to produce faster and more accurate results despite having less presence in training data. This phenomenon is highlighted by one-shot performance levels in Clojure that rival much more popular languages like Python, suggesting that a lower token count helps the model "wrangle" logic more effectively. While smaller file sizes generally lead to better immediate responses, there is still debate over whether these benefits persist in massive codebases where fragmented context might hinder the LLM’s understanding. Ultimately, the inherent structural simplicity of dense languages appears to compensate for their lack of mainstream popularity in the eyes of artificial intelligence.
1 comment tagged with this topic