[Info-vax] Help wanted : Porting code from Linux to VMS

Scott Dorsey kludge at panix.com
Wed Jan 23 07:21:36 EST 2019


Dave Froble  <davef at tsoft-inc.com> wrote:
>On 1/22/2019 10:13 PM, gezelter at rlgsc.com wrote:
>
>> I would also recommend not translating from C to PASCAL. It is generally a shorter path to learn C than to translate an entire codebase.
>
>I've read this more than once now in this thread.  I've got to believe 
>that it's a claim from those already knowing C.  To some extent, I ain't 
>buying it.  Of course, Marc would have to be able to read the C code to 
>know what it's doing.  But writing, no way.

If you know Pascal, get a copy of "From Pascal to C" and study it.  Within a
few days of fooling around you'll know C well enough to do the job.

I think you'll find that reverse-engineering someone else's code, especially
if it is poorly documented, is a lot harder than writing your own if you are
working in an unfamiliar language.

But really, we don't know what this code does.  Maybe it doesn't do any real
IP stuff itself but just listens on a port, in which case it might just 
build with minimal changes.
--scott

-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."



More information about the Info-vax mailing list