[Ncep.list.nems.announce] Birth Announcement: Fortran 2018
Samuel Trahan - NOAA Affiliate
samuel.trahan at noaa.gov
Fri Dec 14 19:42:15 UTC 2018
Hello all,
Welcome to the world of Fortran 2018! Released December 2, 2018 as ISO/IEC
1539:2018, this eleventh version of the Fortran standard is considered a
minor revision of Fortran 2008. It provides significant improvements to C
interoperability and coarray functionality, as well as many other
improvements and clarifications. You'll be happy to hear that fixed-form
Fortran is still supported, computed GOTO is still allowed, and COMMON
blocks are accepted. They are all labelled "obsolescent" in the Fortran
2018 standard, so don't count on them being around in Fortran 2056.
Unfortunately, all of your DO loops have to have END statements now.
(Sorry.)
Example code that takes advantage of new features of Fortran 2018 can be
found here:
https://github.com/scivision/fortran2018-examples
The full standard document, if you have about $200 handy, can be obtained
here:
https://www.iso.org/standard/72320.html
For a bit cheaper ($0), you can get the final draft:
http://isotc.iso.org/livelink/livelink?func=ll&objId=19442438&objAction=Open
A summary of changes, based on an April draft version of Fortran 2018, is
here:
https://isotc.iso.org/livelink/livelink?func=ll&objId=19441669&objAction=Open
Because Fortran 2018 is a minor revision of Fortran 2008, compilers with
good Fortran 2008 support already support parts of Fortran 2018:
http://fortranwiki.org/fortran/show/Compiler+Support+for+Modern+Fortran
Sixty-one years and still going strong.
Sincerely,
Sam Trahan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.lstsrv.ncep.noaa.gov/pipermail/ncep.list.nems.announce/attachments/20181214/b1702a53/attachment.html
More information about the Ncep.list.nems.announce
mailing list