Sujet : Re: Rewriting SSA. Is This A Chance For GNU/Linux?
De : heller (at) *nospam* deepsoft.com (Robert Heller)
Groupes : comp.os.linux.advocacy comp.os.linux.miscDate : 01. Apr 2025, 20:30:51
Autres entêtes
Organisation : Deepwoods Software
Message-ID : <vshetb$3shon$1@dont-email.me>
References : 1 2 3 4
User-Agent : TkNews 3.0 (1.2.19)
Yes, one of the things I did when I was working at UMass was to convert some
FORTRAN code to C and yes, automated tool commonly did either a poor job or
created code that was not maintainable or readable. (And some of the code
needed to be made multi-threaded for parallelization.)
At 1 Apr 2025 17:35:11 GMT rbowman <
bowman@montana.com> wrote:
On Tue, 1 Apr 2025 14:40:27 -0000 (UTC), Robert Heller wrote:
It should be noted that GnuCOBOL actually translates COBOL to C, and
then compiles the C code with GnuC. In *theory* one could just run the
whole code base through GnuCOBOL and create a C code base, but good luck
making much sense of the generated C code...
I never did it with COBOL but I did use 'f2c' to generate C code from
Fortran. When I saw the results I wrote the C code manually. It probably
would have compiled and ran but it was not maintainable. I've seen more
readable output from disassemblers.
-- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364Deepwoods Software -- Custom Software Serviceshttp://www.deepsoft.com/ -- Linux Administration Servicesheller@deepsoft.com -- Webhosting Services