FortranTip
fortrantip.bsky.social
FortranTip
@fortrantip.bsky.social
Tips about Fortran. I also post on X/Twitter and at Fortran Discourse. Past tips are at https://github.com/Beliavsky/FortranTip
Federico Perini suggest using stdlib.fortran-lang.org/interface/ge... for this. "An elegant way
@fortran-lang stdlib does this is to use the `inquire(…size=nbytes)` and then read it all at once. This allows both faster I/O and overall operation (lines can then be split in memory)."
get_file – Fortran-lang/stdlib
A community driven standard library for (modern) Fortran
stdlib.fortran-lang.org
March 17, 2025 at 11:44 AM