home bbs files messages ]

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

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

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

   Message 241,365 of 243,242   
   Keith Thompson to Janis Papanagnou   
   Re: Nice way of allocating flexible stru   
   20 Oct 25 19:21:51   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   Janis Papanagnou  writes:   
   > On 20.10.2025 20:36, rbowman wrote:   
   [...]   
   >> I have converted F77 code from NOAA's public domain stuff to C.   
   >>   
   >> https://en.wikipedia.org/wiki/F2c   
   >>   
   >> The utility does indeed convert Fortran 77 to C code that will compile but   
   >> it is barely human readable and nothing you would want to maintain.   
   >   
   > If the transformation is done correctly there's no reason to inspect   
   > the details of the generated "C" code, or is it?   
      
   Unless the goal is to continue maintenance of the code in C.   
      
   A plausible scenario is that you have a body of code in Fortran that you   
   want to continue maintaining, but it's easier to find C programmers than   
   Fortran programmers.  (I don't know whether that's the case here.)   
      
   [...]   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- 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