Search NASAโŒ• Search

NASA NTRS ยท 20240007095

Type-Safe Generic Programming in Fortran

Abstract

When the Fortran language committee first collected requests for new language features for what has now become the Fortran 2023 standard, support for generic programming emerged as a top priority. However, due to the anticipated complexity, a dedicated committee subgroup was formed, and implementation of generic programming was purposely spread across two language release cycles -- aiming for what is internally referred to as F202Y. In this talk, I will begin with a brief overview of existing Fortran features that support generic programming and then proceed to a detailed examination of the plans for F202Y. This discussion will include motivating use cases, type-safe design goals, (probable) syntax, and a few simple examples. I conclude with a discussion on the likely limitations of generic programming in F202Y and my expectations for extended capabilities in the subsequent release, F203X.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Tom Clune. Type-Safe Generic Programming in Fortran. https://ntrs.nasa.gov/citations/20240007095

Cite the original work for its findings. Save a collection to share your selection of sources.