:: Re: [DNG] Learning C
Top Page
Delete this message
Reply to this message
Author: onefang
Date:  
To: dng
Subject: Re: [DNG] Learning C
On 2024-09-28 22:30:06, nick wrote:
>    environment (Unix, Windows...). Or look into pcc (Portable C Compiler by
>    Steve Johnson) and be amazed, although the code is actually a bit of a
>    dog's breakfast compared with Ritchie's PDP-11 original.


I just looked, what looks like a later rewrite of pcc is in Daedulas Devuan -

"PCC is a small, simple, fast and understandable C99 compiler based on the
original Portable C Compiler by S. C. Johnson, written in the late 1970s.
Focus on being able to compile and run on a PDP11, even if it may not happen
in reality, keeps it lean; abstinence from over-complicated algorithms leads
to quick reliable code generation. Even though much of the compiler has been
rewritten, some of the basics still remain."

Might still be worth a look?

--
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.