AI Fortran Code

This was discussed a bit on another site yesterday and someone made an interesting comment about getting AI to write Fortran:

“”"
Fortran also has the disadvantage of numerous separate dialects/flavours that plenty of times can’t be mixed. And rarely is the exact style mentioned in random code found somewhere.
It got a lot better with Fortran 95 and newer, but in the old world of e.g. lahey compilers and custom commands only available there, any LLM has failed me consistently to stick to these intricacies. I can’t even blame them, when asking humans questions about these topics, you’ll get all sorts of answers that are equally close to a correct solution, but almost never precisely correct.
“”"

1 Like