Live data from Hacker News

Fortran Package Manager

github.com

11–20 of 73 posts

Re: Fortran Package Manager

#11
post #9

Earlier quoted context omitted.

Well, in FORTRAN, GOD is REAL (and JESUS is INTEGER, but that's not as funny). Even modern fortran has to maintain this feature for legacy reasons, leading one to add 'implicit none' to the beginning of each module etc.

> in FORTRAN, GOD is REAL .. but not COMPLEX nor LOGICAL

> > in FORTRAN, GOD is REAL

> but not COMPLEX

Theology concurs: https://en.m.wikipedia.org/wiki/Divine_simplicity

Re: Fortran Package Manager

#12
I think I would prefer a separation between the package manager and build system. I’ve already got a build system for my FORTRAN codes, and that system can handle all the complications. SPACK, for example, can easily work with a pre-existing build system. But I definitely think that the worst part of FORTRAN compared to modern languages is that it takes so much work to manage external dependencies, so I appreciate the effort.

Re: Fortran Package Manager

#16
post #6

This is... built using Fortran, NICE. Writing a TOML parser in Fortran is precisely my definition of FUN.

this is the code for the TOML parser

https://github.com/fortran-lang/fpm/blob/master/src/fpm/toml...

which seems to use another package

https://toml-f.github.io/toml-f/

Re: Fortran Package Manager

#19

Just curious is Fotran Still being used in Newer Projects

I find the trinity of Matlab, Fortran and Julia quite interesting. They all have a similar syntax and I guess Julia can grab quite some people from the other two ecosystems. Clasically, scientists used Matlab for prototyping and Fortran for high performance implementations. With Julia, things might change. However, in science, changes happen slowly and there are still tons of codes (and also new codes) written in Fortran.

If given a modern tooling, Fortran is not too bad, thought. It is in some respect a "no bullshit" language which doesn't allow you to spend your time on infrastructure, architecture or meta programming, because it is virtually impossible to do these things within Fortran ;-)

Post reply on HN