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,389 of 243,242   
   rbowman to Keith Thompson   
   Re: Nice way of allocating flexible stru   
   21 Oct 25 18:21:02   
   
   From: bowman@montana.com   
      
   On Mon, 20 Oct 2025 19:21:51 -0700, Keith Thompson wrote:   
      
   > 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.)   
   >   
   > [...]   
      
   Definitely. I think I might have been the only person in the company that   
   had ever used Fortran. The codebase was all C.  Even competent C   
   programmers were hard to find. The local university used Java as their   
   didactic language. Turning a Java programmer loose on C is very dangerous.   
   Conversely we had one legacy standalone Java application. If I had to   
   modify it I approached it very gingerly.   
      
   --- 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