home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.fortran      Putting John Backus on a giant pedestal      5,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,747 of 5,127   
   Lynn McGuire to Thomas Koenig   
   Re: Is there a way in Fortran to designa   
   14 Oct 24 16:27:11   
   
   From: lynnmcguire5@gmail.com   
      
   On 10/13/2024 7:18 AM, Thomas Koenig wrote:   
   > Lynn McGuire  schrieb:   
   >   
   >> I have 197 common blocks included from dedicated files and a massive   
   >> number of equivalences all over the place.  Several of the equivalences   
   >> are actually in the common block files.  The equivalences have made the   
   >> eventual C++ conversion of the Fortran code tricky.   
   >   
   > What do you use the equivalences for?  Saving memory? Then this   
   > should not be a large issue on modern machines.   
   >   
   > If you are using them for tricks with type conversion, then you   
   > are on thin ice already, and have been since Fortran 66.   
   >   
   > And if you have a few big arrays, then changing those to ALLOCATABLE   
   > and allocating them at runtime might well be straightforward.   
      
   Ripping this out of my F77 code would be a monumentous project.  Over   
   100,000 lines of code reference the memory allocation scheme that we   
   have used in Fortran since 1977.  We name the thousands of memory blocks   
   for multiple references and put overwrite detection in them.  No thanks.   
      
   Lynn   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca