Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TheRealKing
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
TheRealKing
6y ago
The natural language for numerical and mathematical sciences has been, is, and will remain Fortran, unless a language is invented with the same nice rich vectorized and parallelized math-oriented syntax of Fortran and its speed, in which ca
92.
▲
by
TheRealKing
6y ago
Fortran Coarray is far beyond simple Fork-Join. It enables one-sided remote memory access, something that is impossible with OpenMP or CUDA, as far as I am aware, and requires the highest levels of skill to do it right in MPI.
93.
▲
by
TheRealKing
6y ago
because it is powerful, fast, simple, object oriented, while being natively parallel, on both shared and distributed architecture.
94.
▲
by
TheRealKing
6y ago
Array should start from any index scientist wishes. That is how it is done in Fortran.
95.
▲
by
TheRealKing
6y ago
In Fortran, you can start the index from any number you want. A(-10:-3) is a completely valid slice or full array declaration, so are A(0:7) or A(1:8). and this feature is absolutely useful in scientific computing.
96.
▲
by
TheRealKing
6y ago
Those lessons that C++20 is still learning from Fortran
97.
▲
by
TheRealKing
6y ago
Fortran has already made its influence on several major languages, including C and Python. The nice concept of modules that you see in Python (that C++ has just decided to add to the language in year 2020), has existed in Fortran ever since
98.
▲
by
TheRealKing
6y ago
"FORTRAN: Unlikely to influence anything in the future due to remarkably poor design" I guess the author of this sentence likely does not know anything about Fortran. They do not even know that the language has NOT been called FOR
99.
▲
by
TheRealKing
6y ago
"FORTRAN: Unlikely to influence anything in the future due to remarkably poor design" I guess the author of this sentence likely does not know anything about Fortran. They do not even know that the language has NOT been called FOR
100.
▲
by
TheRealKing
6y ago
Your supposition is likely inaccurate.
101.
▲
by
TheRealKing
6y ago
In fact, Fortran is one of the oldest and newest programming languages in the world right now, with the Fortran 2018 standard released just recently.
102.
▲
by
TheRealKing
6y ago
Fortran is much easier to learn (compared to C/C++), much, MUCH easier, including its Coarray one-sided communication parallel programming paradigm.
103.
▲
by
TheRealKing
6y ago
you can write write anything in anything these days. This sentence bears no value.
104.
▲
by
TheRealKing
6y ago
Virtually all compilers still support them, even the most modern compilers that support Fortran 2018 (Intel, GNU, IBM, NAG, ...). The source file extensions readily tell the compiler what sort of code the compiler is dealing with. In the wo
105.
▲
by
TheRealKing
6y ago
That is likely a compiler issue. Besides being modern, Fortran 2018, 2008, 2003 have no backward incompatibility issues.
106.
▲
by
TheRealKing
6y ago
This will not happen. There is so much hype around Julia and false claims such as Julia outperforming Fortran, etc. One can always design an isolated benchmark in which Julia outperforms any other language. But what people care, is performa
107.
▲
by
TheRealKing
6y ago
yes, it is, in Physics, astronomy, chemistry, petroleum, climate and space sciences and the engineering fields.
108.
▲
by
TheRealKing
6y ago
Perhaps you were working with FORTRAN77 not Fortran >2003. No other language beats Fortran's syntax for numerical computing. Anyone who claims otherwise, does not really know modern Fortran. Basically, anything nice that one may fin
109.
▲
by
TheRealKing
6y ago
In Fortran, there is the ieee_arithmetic intrinsic module that can very nicely and robustly handle undefined behavior. If people do not use it, it is their problems.
110.
▲
by
TheRealKing
6y ago
MPI officially supports only C and Fortran. Anything else for any other language can be only considered as adventures of some open-source developers, that may not last forever. Take a look at the fate of the C++ bindings for MPI.
111.
▲
by
TheRealKing
6y ago
"It has horrible string support", this is untrue. Learn Fortran 2003, 2008, 2018.
112.
▲
by
TheRealKing
6y ago
why? Why would you do so? Did you gain any significant improvement in your final results compared to the original software? Why would rewrite a software that already works fine, other than not having the will to learn a bit of a new languag
113.
▲
by
TheRealKing
6y ago
Apple sucks for scientific computing. It does not let you even load your own generated shared files, because Apple determines it is too dangerous for the health my own purchased computer. I have never had that problem on Windows or Linux. T
114.
▲
by
TheRealKing
6y ago
scipy, as far as I am aware. but that not change your stated fact on the role of Fortran in Python.
115.
▲
by
TheRealKing
6y ago
Yes, it is. A unique tool indeed for parallel numerical computing.
116.
▲
by
TheRealKing
6y ago
There has been one around for the past 7 decades and still evolving: Fortran
117.
▲
by
TheRealKing
6y ago
It is the right option for anything numerical and array-based. Any super-cool array-based feature that people see in MATLAB and Python was inherited from Fortran 90. Yes, that is true. Sadly, modern Fortran is treated quite unfairly within
118.
▲
by
TheRealKing
6y ago
checkout https://fortran-lang.org/ for help and hints on Fortran.
119.
▲
by
TheRealKing
7y ago
Modern Fortran is amazing. Force your company to move to Fortran 2008 and beyond. A good reference book is Modern Fortran Explained: Incorporating Fortran 2018.
120.
▲
by
TheRealKing
7y ago
The modern Fortran (2008-2018) is indeed used actively, although less than 40 years ago, as there are many rivals now. Just check out the Fortran GitHub projects.
More ›