Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ivanpribec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
ivanpribec
7mo ago
Reminds me of spreadsheet-fortran ( https://github.com/lwsinclair/spreadsheet-fortran ), a project creating a VisiCalc lookalike in FORTRAN 66, which even runs on a PDP-11.
2.
▲
by
ivanpribec
8mo ago
*same translation unit as the call site
3.
▲
by
ivanpribec
8mo ago
I can see the subtle distinction you make. The flang notes on array composition provide a good introduction to the way array expressions ( https://flang.llvm.org/docs/ArrayComposition.html ) are treated. But in practice
4.
▲
FortranCon 2025
(events.fortrancon.org)
2 points
by
ivanpribec
1y ago
|
0 comments
5.
▲
by
ivanpribec
3y ago
Both. :)
6.
▲
by
ivanpribec
3y ago
The "!omp simd" works very well IMO. In general however, the auto-vectorizer tends to do a pretty good job.
7.
▲
by
ivanpribec
3y ago
The NumPy part is a misconception. Fortran is used in SciPy however.
8.
▲
by
ivanpribec
3y ago
Personally, I like to think of Fortran as the language of large-scale numerical PDE and eigenproblem solvers. Most scientific and engineering problems boil down to one of these two.
9.
▲
by
ivanpribec
3y ago
Bjarne Stroustrup on Fortran users [1]: > Fortran is harder to compete with. It has a dedicated following who [...] care little for programming languages or the finer points of computer science. They simply want to get their work done. [
10.
▲
by
ivanpribec
3y ago
A few of these things exist already: - http: https://github.com/fortran-lang/http-client - sockets: https://github.com/modern-fortran/tcp-client-server - threads: https://github.com
11.
▲
by
ivanpribec
3y ago
For "broadcasting" an array along a particular axis, you'll need to use the function "spread(source,dim,ncopies)". But mixed array/scalar expressions are indeed supported.
12.
▲
by
ivanpribec
3y ago
OpenMP support in Fortran will improve as flang matures. In OpenMP 5.0 "#pragma omp requires unified_shared_memory" was introduced. At LLNL, they are are currently building El Capitan ( https://www.datacenterknowledge.co
13.
▲
by
ivanpribec
3y ago
They do. Some national HPC centers offer Fortran courses including elements of Fortran 2018 [1,2], including the latest features. (Disclaimer: I work at one.) The Intel Fortran compiler already includes some Fortran 2023 features [3]. [1]
14.
▲
by
ivanpribec
3y ago
Historically, it has been easier for vendors to work in their own walled gardens, and get customers locked in, than it is to collaborate on open standards and APIs.
15.
▲
by
ivanpribec
3y ago
For fun, I wrote a CHIP8 interpreter in Fortran recently [1]. Fortran is still heavily used in computational chemistry, computational fluid dynamics, marine engineering, nuclear engineering, reservoir engineering, and numerous other enginee
16.
▲
Show HN: Fortran Chip-8 Interpreter
(github.com)
5 points
by
ivanpribec
3y ago
|
0 comments