▲ | linkage 4 hours ago | |||||||||||||
This claim needs to be backed up by evals. I could just as well argue the opposite, that LLMs are best at coding Python because there are two orders of magnitude more Python in their training sets than C++ or Rust. In any case, you can easily get most of the benefits of typed languages by adding a rule that requires the LLM to always output Python code with type annotations and validate its output by running ruff and ty. | ||||||||||||||
▲ | yibers 3 hours ago | parent | next [-] | |||||||||||||
I agree that the training sets for LLMs have much more training data for Python than for Rust. But C++ has existed before Python I believe. So I doubt there is 2 orders of magnitude of Python code more than C++. | ||||||||||||||
| ||||||||||||||
▲ | dccsillag 3 hours ago | parent | prev [-] | |||||||||||||
I think you vastly overestimate the capacity of Python typing. |