Live data from Hacker News

How Thou Canst Maketh a Fine Program in Fortran

digitalocean.com

31–38 of 38 posts

Re: How Thou Canst Maketh a Fine Program in Fortran

#31
post #2

I'm thoroughly surprised to see that Fortran is still being updated (with an upgrade still in the works for next year apperantly). I had no idea. I'll give it a shot as it seems interesting to at least have worked in it a bit, but I do wonder, where is Fortran used these days? A quick glance at Tiobe[1] shows that it scored a bit higher than Haskell, Scala and Kotlin. Can anyone explain me why? [1]: https://www.tiobe…

where is Fortran used these days?

I see a lot or Fortran still being written in various parts of climate and earth science.

Re: How Thou Canst Maketh a Fine Program in Fortran

#32

I guess I was expecting a little more substance to the post. It seems like a long-winded for the little substance in it.

I think it was an April 1 post and served its purpose well I would say!

I didn't even look at the date! /me facepalms

Re: How Thou Canst Maketh a Fine Program in Fortran

#33
post #17
post #2

I'm thoroughly surprised to see that Fortran is still being updated (with an upgrade still in the works for next year apperantly). I had no idea. I'll give it a shot as it seems interesting to at least have worked in it a bit, but I do wonder, where is Fortran used these days? A quick glance at Tiobe[1] shows that it scored a bit higher than Haskell, Scala and Kotlin. Can anyone explain me why? [1]: https://www.tiobe…

Personal experience: My general language-to-go is Python, and I'm very fond of Rust. But Fortran has no competition in numerical computing at native speeds in terms of convenience. I was just recently rewriting a small Fortran library (that I usually but not always call from Python) to C, and it was a pain. So, as a result of that, Fortran is still used heavily in scientific computing. (On the other hand, Fortran is…

What do you think about Julia language? It's a modern take on a language for number crunching that has support for C and Python code. Also uses some Fortran libraries that are optimized.

https://julialang.org

Far as distributed, see Cray's Chapel and Taft's Parasail for languages trying to improve on that. Chapel's competition was IBM X10 and Fortress languages. Im not sure if those two are maintained any more, though.

Re: How Thou Canst Maketh a Fine Program in Fortran

#35

Earlier quoted context omitted.

Not the parent, but "your machine" should probably be "thy machine." "Thou compiler" should be "thy compiler." In general, mapping from 3rd to 2nd person, "he" = "thou", "him" = "thee", and "his" = "thy." I believe "thou doth do" should just be "thou doth" but I could be mistaken about what "doth" is. :)

doth is 3rd person singular, so maybe dost ? not sure, have to look it up, 20+ years since I was doing this sort of thing in grad school

Yes, definitely thou dost.

Re: How Thou Canst Maketh a Fine Program in Fortran

#36

Earlier quoted context omitted.

What were the issues with the declensions?

Well, one thing I noticed was an inconsistency with "thy" and "thine". Which one you use depends on if the following word starts with a vowel, with "thine" before vowels and "thy" otherwise. For example, the article has "in thy own case", as well as, "output thine data". Some investigation seems to lead me to believe that this a more a matter of style, but I still think it sounds wrong.

Quite correct. Spoken English abhors glottal stops, and written English reflects that. Still, it is not as consistent as one might wish in the written record, humans being about 85% logical and 15% irrational and language reflecting that, &c.

Re: How Thou Canst Maketh a Fine Program in Fortran

#37
post #2

I'm thoroughly surprised to see that Fortran is still being updated (with an upgrade still in the works for next year apperantly). I had no idea. I'll give it a shot as it seems interesting to at least have worked in it a bit, but I do wonder, where is Fortran used these days? A quick glance at Tiobe[1] shows that it scored a bit higher than Haskell, Scala and Kotlin. Can anyone explain me why? [1]: https://www.tiobe…

Because it's an easy language to pick up and use, and so well optimized that it'll always be blazing fast and parallelized.
Post reply on HN