Clicky

Fortran Wiki
Sandbox (Rev #47, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #46 to #47: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

(削除) I (削除ここまで)(追記) Feel (追記ここまで)(削除) saw (削除ここまで)(追記) free (追記ここまで)(削除) some (削除ここまで)(追記) to (追記ここまで)(削除) entries (削除ここまで)(追記) try (追記ここまで)(削除) in (削除ここまで)(追記) out (追記ここまで)(追記) features (追記ここまで)(追記) of (追記ここまで)(追記) the (追記ここまで)(追記) wiki (追記ここまで)(追記) here. (追記ここまで)(追記) Any (追記ここまで)(追記) changes (追記ここまで)(追記) made (追記ここまで)(追記) to (追記ここまで) this(削除) site (削除ここまで)(追記) page (追記ここまで)(削除) about (削除ここまで)(追記) will (追記ここまで)(削除) Fortran (削除ここまで)(追記) be (追記ここまで)(削除) and (削除ここまで)(追記) periodically (追記ここまで)(削除) OOP, (削除ここまで)(追記) rolled (追記ここまで)(削除) some (削除ここまで)(追記) back. (追記ここまで)(削除) in (削除ここまで)(削除) favour (削除ここまで)(削除) and (削除ここまで)(削除) some (削除ここまで)(削除) in (削除ここまで)(削除) contra. (削除ここまで)

(削除) (削除ここまで)(削除)

I think that OOP adds more complexity. The C++ book available at this time, has about 1600 pages. One chose a language first based on the characteristics of the language, but the available libraries are a very important factor too. Fortran was the first high level programming language designed for numerical computation. There are lots of programs written since 1953, an important collection in the ACM-CALGO. (Collected Algorithms).

(削除ここまで)
(追記)
(追記ここまで)
(削除) (削除ここまで)

(削除) Both (削除ここまで)(追記) Here (追記ここまで)(追記) is (追記ここまで)(追記) a (追記ここまで)(追記) code (追記ここまで)(追記) block (追記ここまで)(追記) with (追記ここまで) Fortran(削除) and (削除ここまで)(追記) syntax (追記ここまで)(削除) many (削除ここまで)(追記) highlighting (追記ここまで)(削除) popular (削除ここまで)(追記) enabled: (追記ここまで)(削除) OO (削除ここまで)(削除) languages (削除ここまで)(削除) lack (削除ここまで)(削除) symbolic (削除ここまで)(削除) computation (削除ここまで)(削除) features. (削除ここまで)(削除) Important (削除ここまで)(削除) to (削除ここまで)(削除) transform (削除ここまで)(削除) formulas. (削除ここまで)

(削除)

OOP is a misleading adoption of the Actor model proposed by Hewitt and the Simula language, but adopted by lots of programmers (is a fact that the masses can be wrong).

(削除ここまで)
(追記)
! "Hello, World" in Fortran 90
program hello
 print *, "Hello, world!"
end program hello
(追記ここまで)

(削除) The (削除ここまで)(追記) An (追記ここまで)(削除) Lisp (削除ここまで)(追記) SVG (追記ここまで)(削除) language (削除ここまで)(追記) figure: (追記ここまで)(削除) (1958) (削除ここまで)(削除) is (削除ここまで)(削除) a (削除ここまで)(削除) functional (削除ここまで)(削除) language (削除ここまで)(削除) designed (削除ここまで)(削除) for (削除ここまで)(削除) symbolic (削除ここまで)(削除) computation. (削除ここまで)(削除) In (削除ここまで)(削除) that (削除ここまで)(削除) language (削除ここまで)(削除) is (削除ここまで)(削除) possible (削除ここまで)(削除) to (削除ここまで)(削除) compute (削除ここまで)(削除) the (削除ここまで)(削除) symbolic (削除ここまで)(削除) derivate (削除ここまで)(削除) of (削除ここまで)(削除) a (削除ここまで)(削除) function (削除ここまで)(削除) and (削除ここまで)(削除) use (削除ここまで)(削除) it. (削除ここまで)(削除) That (削除ここまで)(削除) is (削除ここまで)(削除) more (削除ここまで)(削除) precise (削除ここまで)(削除) than (削除ここまで)(削除) any (削除ここまで)(削除) numeric (削除ここまで)(削除) differentiation (削除ここまで)(削除) algorithm. (削除ここまで)

(削除) (削除ここまで)(削除)

Other old player APL, had arrays as the basic data type. The interesting thing is the basis of array operators is very powerful and programs are written composing them.

(削除ここまで)
(追記)
(追記ここまで)
(削除) (削除ここまで)

(削除) Fortran (削除ここまで)(追記) And (追記ここまで)(追記) here (追記ここまで) is(削除) still (削除ここまで)(削除) a (削除ここまで)(削除) good (削除ここまで)(削除) language (削除ここまで)(削除) for (削除ここまで)(削除) scientific (削除ここまで)(削除) computation, (削除ここまで)(削除) one (削除ここまで)(削除) is (削除ここまで)(削除) going (削除ここまで)(削除) to (削除ここまで)(削除) take (削除ここまで)(削除) advantage (削除ここまで)(削除) of (削除ここまで) the(削除) available (削除ここまで)(追記) Gamma (追記ここまで)(削除) libraries. (削除ここまで)(追記) function: (追記ここまで)

(削除) (削除ここまで)(削除)

Fortran is still evolving and I think that adopting OO is not a good idea. Many of the languages used for scientific computation today inherited some features from the mentioned languages, like Mathematica or Matlab.

(削除ここまで)
(追記)
\\Gamma(x) = \\int_0^\\infty t^{x-1}{\\mathrm{e}}^{-t}\,円{\\mathrm{d}}t
(追記ここまで)
(削除) (削除ここまで)(削除)

Fortran could gain more benefits learning from the symbolic computation of Lisp, the APL applicative model and the Actor model for simulations. However, such extensions could hardly be developed keeping backward compatibility with the more classic Fortran versions.

(削除ここまで)
(追記)
program hello
 print *, "Hello, world!"
end program hello
(追記ここまで)
(削除)

But a new rational preprocessor may complement some of dose features by doing some of the needed tasks like symbolic differentiation of formulas, composing efficiently array operations and developing a framework to generate simulation programs. In that way, Fortran could be kept backward compatible, with the benefit of adding the mentioned advantaged features.

(削除ここまで)
(追記)

Quotation

(追記ここまで)
(削除) (削除ここまで)(削除)

(for those who had never heard about ratfor, rational Fortran, which was a preprocessor written as part of a collection of software tools for programming. Ratfor added structured programming, easier I/O and file handling to Fortran IV. Although Brian Kernighan, a ratfor co-author, says that C was totally written by Dennis Ritchie, but many of the functions in C can be rooted to ratfor.).

(削除ここまで)
(追記)
(追記ここまで)
(追記) (追記ここまで)(追記)

category: meta

(追記ここまで)
Revision from December 11, 2019 07:34:46 by Anonymous Coward
Forward in time (5 more) | Back in time (46 more) | See current | Hide changes | History | Rollback | View: Source | Linked from: HomePage, HowTo, 2011

AltStyle によって変換されたページ (->オリジナル) /