HNHacker News
TopNewBestAskShowJobs

TheRealKing

49 karma · joined May 17, 2018

submissionscomments
TheRealKing··on Show HN: Punch card simulator and Fortran IV interpreter
None, but nice!
TheRealKing··on Should I choose Ada, SPARK, or Rust over C/C++? (2024)
Ada's mechanism is what Fortran has been using and doing for decades.
TheRealKing··on Is Fortran better than Python for teaching basics of numerical linear algebra?
I strongly disagree. Arbitrary bounds are tremendously helpful in dealing with arrays whose starting point must be offset.
TheRealKing··on Is Fortran better than Python for teaching basics of numerical linear algebra?
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.
TheRealKing··on Is Fortran better than Python for teaching basics of numerical linear algebra?
We must disclose that @adgjlsfhk1 works for JuliaComputing. Sometimes they forget to do so on their own.
TheRealKing··on New horizons for Julia
The comments further above on the inherent limitations of the Julia language as a replacement for Fortran or C++ seem to contradict your opinion.
TheRealKing··on New horizons for Julia
Adding to the list is the tragedy of Julia programming language's type system: https://medium.com/@393069484/a-tragedy-of-julias-type-syste...
TheRealKing··on Lua is so underrated
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.
TheRealKing··on The future of Deep Learning frameworks
Fortran cannot be placed with C in the same category of low programming productivity.
TheRealKing··on Calculus with Julia
All of them inherit their syntax from the amazing Fortran array syntax.
TheRealKing··on LLaMA now goes faster on CPUs
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.
TheRealKing··on Why Python's integer division floors (2010)
And first of all, Fortran.
TheRealKing··on Winteracter – The Fortran GUI Toolset
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.
TheRealKing··on Is Fortran “A Dead Language”? (2022)
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.
TheRealKing··on Is Fortran easier to optimize than C for heavy calculations?
I believe the NAG Fortran compiler does check for some aliasing scenarios if not all. The argument intent is irrelevant.
TheRealKing··on Road to NumPy 2.0
and MATLAB was entirely influenced by Fortran's array-based syntax.
TheRealKing··on Fortran
I guarantee, the answer is "no experience".
TheRealKing··on Fortran
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.
TheRealKing··on Fortran
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.
TheRealKing··on Fortran
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.
TheRealKing··on What learning APL taught me about Python
Numpy's vectorized syntax is inspired by Fortran.
TheRealKing··on Try the last internet Kermit server
The petroleum industry and academia have codebases dating back to FORTRAN66, which are still actively developed, albeit in modern Fortran.
TheRealKing··on Rust vs. Julia in scientific computing
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.
TheRealKing··on Rust vs. Julia in scientific computing
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.
TheRealKing··on Rust vs. Julia in scientific computing
Well said. Now replace "Rust" with "Julia" in your first sentence for a moment of enlightenment for everyone.
TheRealKing··on Rust vs. Julia in scientific computing
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/
TheRealKing··on Simula – The forgotten programming language
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.
TheRealKing··on Can Fortran survive another 15 years?
Typical Julia programmer/employee response when pointed to their flaws. Arrogant, rude, Young and inexperienced, irrational.
TheRealKing··on Can Fortran survive another 15 years?
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.
TheRealKing··on Can Fortran survive another 15 years?
It is not just about call overhead. It is about a whole suite of aggressive optimizations only possible for a whole program. Point to one person or entity in the world who calls SUNDIALS Julia wrapper to bind their C production code to SUNDIALS. If you cannot, you have two options: 1. make your Julia benchmarks concrete and realistic or 2. cease and desist from pointless advocacy of your employer (JuliaComputing) and its benchmarks in public forums.
Page 1 of 5Next →