3 ms·
As an anecdotal reference, in high school, 1985-1987, we used Turbo Pascal 3 on 8086 machines. 640k ram, but it was a pretty zippy compiler even then.
by bruce511 3y ago
As an anecdotal reference, in high school, 1985-1987, we used Turbo Pascal 3 on 8086 machines. 640k ram, but it was a pretty zippy compiler even then.
- MichaelRo 3y agoPrecisely. I started high school in 1992 and the only two IBM-PC compatibles in the computer class (the rest being CP/M machines) were an XT-8086 and an AT-80286. The XT had a very fast Turbo Pascal compiler, I don't recall the exact version but could have been 3.0. AT machine had 5.0 or something and was significantly slower although not to render it unusable. That's until someone wiped out 3.0 from the XT machine and replaced it with the same 5.0. Compile time of a simple "hello world" program raised from under 1 second to at least a minute. Rendered unusable and worst part was that 3.0 was completely gone, no floppies to re-install it. They had it solely on the hard drive (probably 20Mb or so) but now was gone.
- tie-in 3y agoThe 1-min compile time for TP5 doesn't sound right to me. I used Turbo Pascal versions from 3 to 7 back in the day, and all of them were quite fast (one-pass compiler). Turbo C++ was another matter though. The same example programs compiled drastically slower (seconds vs minutes).
- theragra 3y agoThat is one thing I really miss. TP was defacto language to teach in exUSSR. In many cases,TP or later Delphi followed as IDE for real apps. Pascal had its issues, but compilation speed was insane. When most people switched to java or c#, we lost this. Authors of both could have not used language so similar to C, but it happened. I dunno, maybe I need to adjust and think before compiling, or switch to Go.
- mixmastamyk 3y agoOk, but no IBM PCs shipped with an 8086 processor. Maybe you mean an upgraded clone, or the 286?, which was a significant leap. Wikipedia says the first line of PCs maxed out at 256k of RAM. Except on expansion card. Not until the XT did it support 640k on board. Also, importantly I meant 8088 above! Not easy to stay accurate after all these years, right? We were reading Petzold's Code recently and it goes on and on about the 8080, and so believe that made its way into my writing.