Fortran
Hacker ApprovedRanked 33 of 163 programming languages by recommenders
Recommended for fast numerical code, with built-in multidimensional arrays and strong HPC and GPU support. Critics most often warn that older portable standards are at risk from compiler breaking changes.
Recommended for fast numerical code, with built-in multidimensional arrays and strong HPC and GPU support. Critics most often warn that older portable standards are at risk from compiler breaking changes.
107 people gave an opinion
- recommend it
- 87
- criticize it
- 20
- approval share
- 81%
Recommended in 12 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Owned for 8 years
Median of the 5 owners who said how long they have had it.
Each square is one year.
Why it carries the badge
- 87 people recommend itNeeds 10 or more, met.
- 4.3 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 12 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Multidimensional arrays and fast loops
“Multidimensional arrays out of the box, fast loops, native cuda support, trivial build and packaging system, zero version churning”
Comment from 9 Dec 2025 in “If you're going to vibe code, why not do it in C?” “If your problem fits into arrays/matrices/vectors as the only required datastructures, Fortran is a VERY good language.”
Comment from 17 Dec 2025 in “Learning Fortran (2024)” “best in class in its niche: writing numerical algorithms that compile to highly optimized machine code”
Comment from 15 Oct 2026 in “Celebrating 70 Years of Fortran” - Comment from 25 Aug 2026 in “Python's pre-declared constants are kinda weird”
- Comment from 9 May 2026 in “Making Julia as Fast as C++”
- Comment from 15 Oct 2026 in “Celebrating 70 Years of Fortran”
- Comment from 15 Oct 2026 in “Celebrating 70 Years of Fortran”
Readable code for scientists
“it's built for exactly this usecase, and scientists will still be able to read your code without a CS degree”
Comment from 18 Apr 2026 in “30 Years of HPC: many hardware advances, little adoption of new languages” “the best features to me are colon array slicing syntax like Python/Numpy and arrays being indexed from 1”
Comment from 17 Dec 2025 in “Learning Fortran (2024)” “It's syntax for mathematical operations is head and shoulders above most more recent languages.”
Comment from 15 Oct 2026 in “Celebrating 70 Years of Fortran” - Comment from 21 Mar 2026 in “Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran”
- Comment from 17 Apr 2026 in “30 Years of HPC: many hardware advances, little adoption of new languages”
Strong HPC and GPU performance
“the only fully supported higher-than-C level language that can produce HPC applications without fighting a compiler left and right”
Comment from 25 May 2026 in “C constructs that still don't work in C++” “for numerical code to be run on a specific hardware, including GPU, it's pretty close to perfect”
Comment from 19 Apr 2026 in “30 Years of HPC: many hardware advances, little adoption of new languages” “that's why I find Fortran still serves them better for numerics than anything that came since”
Comment from 25 May 2026 in “C constructs that still don't work in C++” - Comment from 15 Oct 2026 in “Celebrating 70 Years of Fortran”
Simple C interoperability and builds
“Multidimensional arrays out of the box, fast loops, native cuda support, trivial build and packaging system, zero version churning”
Comment from 9 Dec 2025 in “If you're going to vibe code, why not do it in C?” “It has C FFI, it can compile to static programs and to dynamic libraries, it has C-like performance”
Comment from 27 May 2026 in “C array types are weird” “The advantage of having stuff in C and Fortran is that it can easily be used from other languages”
Comment from 12 Nov 2025 in “Cache-friendly, low-memory Lanczos algorithm in Rust”
What people warn about
Each mark is one comment
Dated design and limited control structures
“But the control structures were very limited, everything was basically jumps and gotos.”
Comment from 15 Oct 2026 in “Celebrating 70 Years of Fortran” “lots about its design feels very old-fashioned to my (not particularly young) eyes”
Comment from 17 Apr 2026 in “30 Years of HPC: many hardware advances, little adoption of new languages” “It's crazy by modern standards; in some cases you have to see as far as the second-last character”
Comment from 15 Oct 2026 in “Celebrating 70 Years of Fortran” Portability and breaking changes across compilers
“Your code will work unchanged until you try to change compilers or your compiler adopts a J3 breaking change to the language.”
Comment from 20 Mar 2026 in “Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran” “Fortran 77 and 90 were portable across compilers, but are now at risk from breaking changes”
Comment from 6 Jan 2026 in “C Is Best” “This might work if Fortran were portable, or if only one compiler were targeted.”
Comment from 17 Feb 2026 in “Using go fix to modernize Go code” Weak software engineering features
“There was a lot of terrible stuff in FORTRAN from a software engineering point of view”
Comment from 15 Oct 2026 in “Celebrating 70 Years of Fortran” “Fortran is a terrible language for developing an OS. It doesn't even have pointers.”
Comment from 18 Aug 2026 in “The Road to MS-DOS 2.0”
Other programming languages people recommend
The four most recommended other programming languages, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
See all 163 programming languages, rankedWhat people said
40 of the 136 comments that mention it, newest first. Each links to the original comment.
“There's also fewer traps to fall in than C++ which is elephant sized in scope to Fortran's mouse.”
“‘95 is really the last standard to all be reliably portable across implementations.”
“That is astonishing and I think was not on the radar of computing machinery people in the 50s.”
“It's syntax for mathematical operations is head and shoulders above most more recent languages.”
“best in class in its niche: writing numerical algorithms that compile to highly optimized machine code”
“Fortran was the first “mainstream” (for the time) language to offer anything like this.”
“It's crazy by modern standards; in some cases you have to see as far as the second-last character”
“Fortran is very very good at optimizing array processing due to lack of aliases”
“But the control structures were very limited, everything was basically jumps and gotos.”
“Modern fortran is very very fast and much nicer to use than C for linear algebra”
“There was a lot of terrible stuff in FORTRAN from a software engineering point of view”
“It was useful; preprocessors like Flecs used it to emulate missing control structures.”
“love Fortran as a language but really worried about how it's both the foundation of most core packages”
“FORTRAN, which has good multidimensional numeric arrays, is still often used for number-crunching.”
“Fortran is a terrible language for developing an OS. It doesn't even have pointers.”
“It has C FFI, it can compile to static programs and to dynamic libraries, it has C-like performance”
“that's why I find Fortran still serves them better for numerics than anything that came since”
“the only fully supported higher-than-C level language that can produce HPC applications without fighting a compiler left and right”
“the column-major order of Fortran is more efficient for some linear algebra operations”
“it is more often than not faster to write out a simulation or design in a language I know inside out like fortran”
“for numerical code to be run on a specific hardware, including GPU, it's pretty close to perfect”
“it's built for exactly this usecase, and scientists will still be able to read your code without a CS degree”
“lots about its design feels very old-fashioned to my (not particularly young) eyes”
“scientists can pretty much just write down their equations, follow a few simple rules”
“it is really nice for allowing computational scientists to get, like, 95% of the way there”
“Your code will work unchanged until you try to change compilers or your compiler adopts a J3 breaking change to the language.”
“The syntax is needlessly verbose. I/O is a chore. String manipulation is a pain.”
“This might work if Fortran were portable, or if only one compiler were targeted.”
“I think F77 was a pretty well designed language, given the legacy stuff it had to support.”
“If you want a clean language to use as an entry point into the current state of Fortran, you want Fortran 90”
“Fortran 77 and 90 were portable across compilers, but are now at risk from breaking changes”
“If your problem fits into arrays/matrices/vectors as the only required datastructures, Fortran is a VERY good language.”
“the best features to me are colon array slicing syntax like Python/Numpy and arrays being indexed from 1”
“While I enjoyed the class, I have a funny picture of me kicking the FORTRAN book across my dorm room”
“Multidimensional arrays out of the box, fast loops, native cuda support, trivial build and packaging system, zero version churning”
“It was never exactly my cup of tea, but nearly 40 years out of university it seems Fortran has kinda kept up!”
“FORTRAN was my first language in the 60s and I ENJOYED using it until "better" languages came along.”
“there are some (thinking back to my scientific computing days) that are easier to express in Fortran than Prolog.”
“The advantage of having stuff in C and Fortran is that it can easily be used from other languages”
“Fortran is bootstrappable so I consider it more viable than haskell for real world use”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.