3 ms·
That definitely was a big deal in the 80s when I used it. You could compile a program in seconds, all in memory, while a C program needed 5 passes, each pass wr
by EVa5I7bHFq9mnYK 2y ago
That definitely was a big deal in the 80s when I used it. You could compile a program in seconds, all in memory, while a C program needed 5 passes, each pass writing and reading from quite slow hard disks of the time.
- WalterBright 2y agoMy C and C++ compilers (Datalight, Zortech) only required 2 passes: 1. preprocessor/parser/semantic all at once 2. optimizer (optional) 3. code generator Later on in the 80s these were merged into one executable.
- EVa5I7bHFq9mnYK 2y agoCPP C0 C1 C2 AS LD And an optional AR
- WalterBright 2y agoI know what the conceptual passes are, but ZTC merged them, including the multiple conceptual passes the CPP does.
- EVa5I7bHFq9mnYK 2y agoThose were not conceptual passes, but actual standalone programs executed in that order, to compile a C program. Each program operated within 64KB RAM, shared with the OS and all the drivers.
- WalterBright 2y agoAnd Zortech C, for 64K machines, had two standalone programs to compile a C program to an object file.
- EVa5I7bHFq9mnYK 2y agoCudos to Zortech C