NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Generic Programming in Fortran 202YBack in 2018, the Fortran committee began planning new features for what is now expected to be Fortran 2023, "generic programming" was at the top of the list of requests from the user community. Here, generic programming refers to the ability to specify algorithms that are parameterized in terms of deferred _types_ (as opposed to values). Concrete algorithms are subsequently generated when the generic algorithms are "instantiated" with specific types.

After significant consideration the language committee decided that the necessary changes to Fortran to support generic programming would be too large and complex to complete within a single release cycle of the standard. Instead, a new "generics" subgroup was formed with myself as the lead, and we were charged with developing generic programming features for the subsequent release _after_ the F2023, internally referred to as Fortran 202Y. I.e, the new subgroup was provided the luxury of developing the new capabilities across two full release cycles of the standard.

This talk will describe the current approach to generics being pursued by the subgroup as well as the current status halfway through the development cycle. I will conclude with some motivating examples implemented with notional syntax.
Document ID
20220010683
Acquisition Source
Goddard Space Flight Center
Document Type
Presentation
Authors
Thomas Clune
(Goddard Space Flight Center Greenbelt, Maryland, United States)
Date Acquired
July 14, 2022
Subject Category
Computer Programming And Software
Meeting Information
Meeting: NCAR Computational and Information Systems Lab Seminar
Location: Boulder, CO
Country: US
Start Date: July 18, 2022
Sponsors: National Center for Atmospheric Research
Funding Number(s)
WBS: 527813.02.01.01.31
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
Technical Review
Single Expert
Keywords
Fortran
No Preview Available