logoalt Hacker News

jleyanktoday at 5:06 PM2 repliesview on HN

If you're interested in safer code when working with older versions of Fortran, add 'implicit none' at the top. This will eliminate the integer vs. float automatic assignment and make variable definition much tighter. Back when I mucked about with Fortran (previous century really), we tried to do the memory allocation and I/O in C and the compute in Fortran. That would play well with both superscalar and vector machines.


Replies

Neywinytoday at 7:03 PM

Pro tip: ctrl-f or find in page helps a lot. The author talks about implicit none and shows it in code.

layer8today at 6:24 PM

You didn’t read the article?

show 1 reply