Live data from Hacker News

Fortran.io – a Fortran Web Framework

fortran.io

81–90 of 255 posts

Re: Fortran.io – a Fortran Web Framework

#83
post #72

Google has this thing called “Testing on the Toilet” where they post factoids about Google’s codebase and best practices. I read one and it said FORTRAN is a highly secure language (or there haven’t been any security vulnerabilities found in the language in a while). Devil’s advocate for not writing FORTRAN off completely at first sight.

Or is it just because no one uses it? Apple used to run ad campaigns about how Macs were immune to viruses and therefore highly secure. Turns out enough people just weren't using Mac, and viruses started popping up once it went mainstream.

Have there been Mac viruses that actually spread user-to-user in the wild? The articles I've seen talk about malware, which is different. Also the occasional proof-of-concept.

Re: Fortran.io – a Fortran Web Framework

#85
post #75

Getting a standard Nginx error "502 Bad Gateway nginx/1.10.3 (Ubuntu)". Are they slashdotted[1]? [1]: https://en.wikipedia.org/wiki/Slashdot_effect

I opened it and instantly thought — "Ohhhh, you got me!"

Legitimately, I wish it was intentional. In fact, I think the maintainer should make it intentional).

Re: Fortran.io – a Fortran Web Framework

#87
post #75

Getting a standard Nginx error "502 Bad Gateway nginx/1.10.3 (Ubuntu)". Are they slashdotted[1]? [1]: https://en.wikipedia.org/wiki/Slashdot_effect

The static link works for me[1]

The default https://fortran.io/ not so much.

1. https://fortran.io/static/index.html

Re: Fortran.io – a Fortran Web Framework

#88

Fortran actually isn't a static language. It's evolved over time. The last significant revision according to wikipedia is just over a year old. The beauty and horror of it probably depends which era of it you're looking at.

IIRC, most people who use Fortran use it because there are extremely specialized physics libraries (or astronomy, or chemistry, and so on) that were probably written three to four decades ago by an extremely intelligent PhD student who lacks a proper programming background. Which suggests that the biggest source of horror would be that most code you'll come across was written by a non-programmer who is intelligent en…

For sure, there are a few cases like the one you mention (I personally work with this kind of code in a daily basis), but that's not the reason most people use Fortran. There are many libraries with a level of robustness and performance that you won't find anywhere else, there are highly optimized compilers, and it is the standard language in many fields.

It's also quite safe for non-programmers. Those non-programmers write complex algorithms, but the code itself is not "clever and completely un-idiomatic". Most often, it is quite naive, just a series of formulas one after the other. You will find very long subroutines, bad names, some obvious inefficiencies, and maybe some spaghetti, but nothing to be afraid of.

Post reply on HN