Sergey's headline is a little clickbait-y as the results put Haskell above F#. Also, the article itself admits that there are a lot of variables that were not accounted for in the test. It appearst to be a pattern of more concise languages performing better with LLMs than more verbose langauges with C being all the way at the bottom. I was under the impression that modern C# is more concise than Java, but I haven't touched Java in years.
Link to original post:
https://martinalderson.com/posts/which-programming-languages-are-most-token-efficient/
Sergey's headline is a little clickbait-y as the results put Haskell above F#. Also, the article itself admits that there are a lot of variables that were not accounted for in the test. It appearst to be a pattern of more concise languages performing better with LLMs than more verbose langauges with C being all the way at the bottom. I was under the impression that modern C# is more concise than Java, but I haven't touched Java in years.