开发者

Why the Fortran language standard does not standardize built-in collections such as list, map, and so forth? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 7 years ago.

Improve this question

Summarization:

Because Fortran is so good at numberical/scientific analyses, and not intended to be a general-purpose language.

================================================

The Java languange has a rich set of built-in collections. The most famous third-party collections are also from reliable Apache foundations and Google corporation (just to name a few).

The Delphi language (dialect) also has a handful set of built-in collections. There are also notational third-party collections such as DIContainers, DeHL, and so forth.

I am wondering why the Fortran language standard does not standarize built-in collections such as list, map, and so forth? I mean, although the standard Fortran 77 does not support pointer, some 开发者_开发百科of its extensions and the successor such as Fortran 90 already have the pointer type?


The requested data structures have been implemented in the FLIBS project http://flibs.sourceforge.net/ . Perhaps the standards committee thought that with the pointer and allocatable array features of Fortran 90, programmers who wanted other data structures would be able to code them.


Fortran standard is very carefully put document, for several reasons. One of the main ones is that what goes in the standard will be very difficult to throw out, and the implementation issues also matter. Also there are platform issues.

But most probable reason is, since the Standard is "developed" by compiler developers, and they are in direct connection with the user's demands, is that there wasn't that much of a demand for it from the actual users.

There are currently much more important issues waiting to be implemented than those imho; but that would take a much longer discussion.


Fortran's focus has always been high performance numerical computing. Remember that Fortran first appeared in 1957 and so carries a lot of historical baggage.

There has been lots of development to the Fortran language over the years, but those that have been developing it have concentrated on functionality that enables high performance numerical computing.

Fundamentally Fortran is not intended to be a general purpose programming language with the breadth of applications of, say, C++.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜