this post was submitted on 21 Oct 2024
199 points (99.0% liked)

Programming

17432 readers
231 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Buttons@programming.dev 36 points 4 weeks ago (9 children)

Fortran is still a good language for some purposes I think.

And I feel the same way, C++ tries to solve the problem of having too many features by adding more features.

[–] troyunrau@lemmy.ca 13 points 4 weeks ago (7 children)

Don't get me wrong. There is still a time and a place for Fortran. And this will also likely always be the case for C++. But I'm not sure it is entirely wise to choose it if you're creating a new project anymore.

[–] clay_pidgin@sh.itjust.works 6 points 4 weeks ago (3 children)

I'm barely competent at programming. What is the use case for Fortran, besides maintaining ancient code?

[–] sukhmel@programming.dev 14 points 4 weeks ago (1 children)

A lot of computational heavy tasks for science were done in Fortran at least ten years ago (and I think still are). I was told that's mainly because Fortran has a good deal of libraries for just that, and it was widely taught in academia so this is a common ground between the older and newer generations.

I think it may be gradually superseded by Python, but I don't know if it is

[–] troyunrau@lemmy.ca 10 points 3 weeks ago

A lot of the underlying libraries in python are actually written in Fortran (or were when they were conceived, and the Fortran components later replaced). Numpy, for example, was originally pretty much a wrapper on top of BLAS and LAPACK.

load more comments (1 replies)
load more comments (4 replies)
load more comments (5 replies)