3 ms·
I program in Python, Fortran, and R. LLMs may be better at Python than Fortran since there is more training data for the former, but they are still pretty good
by Bostonian 1y ago
I program in Python, Fortran, and R. LLMs may be better at Python than Fortran since there is more training data for the former, but they are still pretty good at Fortran. LLMs make it easier to use less popular languages and much easier to use the more popular ones. An advantage of using LLMs for a compiled language like Fortran is that you can iterate with compiler messages until the code compiles. A Python script to do this is at https://github.com/Beliavsky/Groq-Fortran-agent https://github.com/Beliavsky/Groq-Fortran-agent. I assume Cursor and Windsurf do this too.
- parpfish 1y agoThat’s a good point about compiled languages being able to bootstrap themselves a bit. But in the case of a young language, I worry that LLMs will induce a sort of convergent evolution either in syntax or just idiomatic best practices