4 ms·
One aspect of Pascal that helps is compilation speed. Pascal's nature allows for single-pass compilers. It may not sound like a big deal, but it's a huge cumula
by dardeaup 2y ago
One aspect of Pascal that helps is compilation speed. Pascal's nature allows for single-pass compilers. It may not sound like a big deal, but it's a huge cumulative effect.
- graemep 2y agoThat is a good point. Repeatedly waiting for compile of build steps is a productivity killer and I think especially relevant for RAD. I played with Lazarus recently and the whole process of creating a simple GUI was so painless.
- EVa5I7bHFq9mnYK 2y agoThat 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 1y agoI know what the conceptual passes are, but ZTC merged them, including the multiple conceptual passes the CPP does.
- EVa5I7bHFq9mnYK 1y 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 1y agoAnd Zortech C, for 64K machines, had two standalone programs to compile a C program to an object file.
- EVa5I7bHFq9mnYK 1y agoCudos to Zortech C