Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lynn McGuire Newsgroups: rec.arts.sf.written,rec.arts.comics.strips Subject: Re: xkcd: CrowdStrike Date: Thu, 25 Jul 2024 16:27:36 -0500 Organization: A noiseless patient Spider Lines: 43 Message-ID: References: <8ts4aj57l0o6u39slihfvpl0137km9p5a3@4ax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 25 Jul 2024 23:27:38 +0200 (CEST) Injection-Info: dont-email.me; posting-host="867eaab4b5e1bdfcd97d233a9a2067b0"; logging-data="2590659"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7alZYHYFxN5AsQGOWskBwYBr9hAAUACo=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:AOkw3yo+qMqmEcx1pfpJp6OWAwE= In-Reply-To: Content-Language: en-US Bytes: 3106 On 7/25/2024 2:52 PM, Scott Dorsey wrote: > Lynn McGuire wrote: >> >> The real problem is that Fortran changed significantly from F66 / F77 to >> F90 and beyond. I have written my own program to do most of the >> upgrades for me but I am subject to the old 80 / 20 rule. It is easy to >> automate 80% of the work but the last 20% is dadgum hard to automate. I >> am also cleaning up some old code from the 1970s that is problematic. > > Have you considered gnu fortran? It doesn't produce as fast executables > as the Intel compiler sometimes, but it's pretty good and it has an f77 > mode. > > f90 brings some very cool stuff for matrix operations, which makes > autoparallelization a lot easier, but on the other hand I don't think > engineers should be allowed to use pointers. > > And hollerith fields have to go. > >> I started off porting my F66 / F77 code to C++ using a very modified >> version of F2C. Due to the complexity of input and output between the >> two languages (Fortran is record oriented, C is byte oriented), I have >> split the project into two parts as my customers need a x64 version of >> my software. > > The original g77 was just f2c in front of gcc and... it was pretty awful > really, and never did work all that well. Modern gfortran is much better. > --scott Is there a decent IDE for gnu fortran with gcc ? I tried Simply Fortran and the debugger support is very minimal. I need to be able to stop on the Xth call to a subroutine and Simply Fortran does not support that. I have 5,000 subroutines (800k lines of F77), 300 common blocks, and 500K lines of C++ in over 10,000 files in my calculation engine. Managing that without an IDE is challenging. https://simplyfortran.com/ My Hollerith is gone. My structures and unions are reduced. The code actually converts to C++ fairly well until you get to the formats. Thanks, Lynn