Better HN
topnewbestaskshowjobs
Log inSign up

TheRealKing

49 karma · joined May 17, 2018 (8y ago) · 151 submissions

Submissions

comment 1mo ago · link · parent

Do you realize F95 is over 30 years old? The latest standard is 2023. When people talk about modern Fortran, they usually mean Fortran 2008, 2018, or 2023, or, at worst, Fortran 2003.

comment 8mo ago · link · parent

None, but nice!

comment 1y ago · link · parent

Ada's mechanism is what Fortran has been using and doing for decades.

comment 1y ago · link · parent

I strongly disagree. Arbitrary bounds are tremendously helpful in dealing with arrays whose starting point must be offset.

comment 1y ago · link · parent

That is simply not true. An educated person with minimal programming exposure can readily pick up modern Fortran programming in 1-3 days at a pragmatic level.

comment 1y ago · link · parent

We must disclose that @adgjlsfhk1 works for JuliaComputing. Sometimes they forget to do so on their own.

comment 1y ago · link · parent

The comments further above on the inherent limitations of the Julia language as a replacement for Fortran or C++ seem to contradict your opinion.

comment 1y ago · link · parent

Adding to the list is the tragedy of Julia programming language's type system: https://medium.com/@393069484/a-tragedy-of-julias-type-syste...

comment 1y ago · link · parent

Did you mean, "Julia never found any widespread adoption and remains an obscure, niche language"? Fortran was the world's top programming language until the new millennium and is still among the top ten most popular. Arrays in Fortran can start from any index; the default choice is 1, which can be overridden with literally one keystroke: 0.

comment 2y ago · link · parent

Fortran cannot be placed with C in the same category of low programming productivity.

comment 2y ago · link · parent

All of them inherit their syntax from the amazing Fortran array syntax.

comment 2y ago · link · parent

No, you can still trust compilers: 1) The hand-tuned BLAS routines are essentially a different algorithm with hard-coded information. 2) The default OpenBLAS uses OpenMP parallelism, so much speed likely originates from multithreading. Set OMP_NUM_THREADS environment variable to 1 before running your benchmarks. You will still see a significant performance difference due to a few factors, such as extra hard-coded information in OpenBLAS implementation.

comment 2y ago · link · parent

And first of all, Fortran.

comment 2y ago · link · parent

Fortran has officially had the concept of modules for 35 years, which just made its way to the C++ world in 2020. It's the people who cannot update and sync with contemporary technology and remain stuck to COMMON blocks.

comment 2y ago · link · parent

As someone who has been using about a dozen programming languages over more than two decades, I completely disagree with your experience, some of which appear to be due to incomplete knowledge of the Fortran programming language, including your statement "lacking in standard IEEE numerical things such as a function to check for nan". Everyone talks about C and C++, but we all know in our hearts how terrible the syntax of these languages is.

comment 3y ago · link · parent

I believe the NAG Fortran compiler does check for some aliasing scenarios if not all. The argument intent is irrelevant.

comment 3y ago · link · parent

and MATLAB was entirely influenced by Fortran's array-based syntax.

comment 3y ago · link · parent

I guarantee, the answer is "no experience".

comment 3y ago · link · parent

The "Hiring Fortran programmers is risky" argument is incorrect. This is, in fact, the whole point of Fortran, that anyone as dumb as a rock "would" (not "could" or "might") write performant code. There is currently no other language that can achieve this. Any other language claiming this capability is essentially recreating Fortran (perhaps with a slightly different syntax). Fortran Standard has been pursuing this sole goal for 70 years and has become extremely good at it. Your argument applies very well to C++, though. But it's not too hard to catch a novice there, either.

comment 3y ago · link · parent

This process of language love and hatred over a short period is what's called language fad. Ten years ago, people wrote articles praising MATLAB over established languages. I do not recall any of those writings ever mentioning Matlab's licensing as an issue. MATLAB is now >1000 fold better than ten years ago. Yet, the new generation throws it under the bus daily because it's not their favorite. Change is the only constant in the world of programing fashion and language fads.

comment 3y ago · link · parent

The hard line limit length is at 1,000,000 characters not 10,000. Also, all major compilers currently have flags to significantly extend the line limit length.

comment 3y ago · link · parent

Numpy's vectorized syntax is inspired by Fortran.

comment 3y ago · link · parent

The petroleum industry and academia have codebases dating back to FORTRAN66, which are still actively developed, albeit in modern Fortran.

comment 3y ago · link · parent

All Julia codes are arbitrarily extensible. Any Julia code can always be readily extended to silently yield incorrect results. That is the whole point of the blog post shared above. Justifying the indefensible is different from wanting or liking it.

comment 3y ago · link · parent

That "always" holds for the Julia language almost surely as long as interfaces are missing in the language. It is just a matter of time to find newer issues.

comment 3y ago · link · parent

Well said. Now replace "Rust" with "Julia" in your first sentence for a moment of enlightenment for everyone.

comment 3y ago · link · parent

Except for the fact that your Julia code will always suffer from correctness problems, something that would rarely if ever happen in Fortran. https://yuri.is/not-julia/

comment 3y ago · link · parent

As of today, Fortran is newest and the oldest programming language with its most recent standard in 2023 and its first draft as the first high level programming language in 1954.

comment 3y ago · link · parent

Typical Julia programmer/employee response when pointed to their flaws. Arrogant, rude, Young and inexperienced, irrational.

comment 3y ago · link · parent

Our discussion will continue as long as one side believes fair, realistic benchmarks are merely moving the goalposts. Your benchmark has a severe fundamental flaw, especially given the tiny reported runtimes. I hope you realize and fix it before other critics (perhaps more credible than an unknown forum contributor) begin to question your programming knowledge or fairness. To address the matter, you must compile/write whole programs in each of the respective languages to enable full compiler/interpreter optimizations. If you use special routines (BLAS/LAPACK, ...), use them everywhere as the respective community does. Apples to Apples.
123456