AI RESEARCH
A Study of LLMs' Preferences for Libraries and Programming Languages
arXiv CS.AI
•
ArXi:2503.17181v3 Announce Type: replace-cross Despite the rapid progress of large language models (LLMs) in code generation, existing evaluations focus on functional correctness or syntactic validity, overlooking how LLMs make critical design choices such as which library or programming language to use. To fill this gap, we perform the first empirical study of LLMs' preferences for libraries and programming languages when generating code, covering eight diverse LLMs.