Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From the article: > Today, Fortran 95 provides all desirable object-orientated and structured programming features, pointers and overloaded operators, and is extremely efficient in the handling of arrays.

The object-oriented features (inheritance and type-bound procedures, for example) were added only in Fortran 2003. Also, since the writing of the article, there has been another revision, Fortran 2008, adding support for parallelism (coarrays).



Intereting! Searching for that I found this:

Modern Programming Languages: Fortran90/95/2003/2008

https://www.tacc.utexas.edu/documents/13601/162125/fortran_c...


Often, additions to a programming language standard (or for that matter, any standard) reflect vendor specific extensions to existing implementations. When standards committees decide to add new features that lack implementations, those features may be more likely to be off in the weeds or to produce unresolvable positions in regard to its specification.


That is what happened with coarrays (which was called F-- before), the object-oriented features, however, were not based on existing extensions. For example, neither the Intel compiler, gfortran, nor g95 supported any of those features at the time of the article's writing, and the NAG compiler provided only partial support[0].

[0] http://portalparts.acm.org/1280000/1279941/fm/frontmatter.pd...


Both IBM and Cray had nearly all the features implemented per "Data enhancements and object orientation" on page 6.


Yes. That document is from 2007, which is three years after Fortran 2003 was standardized.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: