Re: Turbo Pascal 1.0 trivia

pausch@saaf.se (Paul Schlyter)
28 Nov 1997 00:58:06 -0500

          From comp.compilers

Related articles
Turbo Pascal 1.0 trivia africk@ilk.de (Arne Frick) (1997-11-24)
Re: Turbo Pascal 1.0 trivia gnb@itga.com.au (Gregory Bond) (1997-11-28)
Re: Turbo Pascal 1.0 trivia torbenm@diku.dk (1997-11-28)
Re: Turbo Pascal 1.0 trivia pausch@saaf.se (1997-11-28)
Re: Turbo Pascal 1.0 trivia ct7@mitre.org (W. Craig Trader) (1997-11-28)
Re: Turbo Pascal 1.0 trivia ssmitch@erols.com (Stephen S. Mitchell) (1997-11-29)
Re: Turbo Pascal 1.0 trivia laurie@pnc.com.au (laurie boshell) (1997-11-29)
Re: Turbo Pascal 1.0 trivia maurice@oust.irit.fr (1997-11-29)
Re: Turbo Pascal 1.0 trivia toon@moene.indiv.nluug.nl (Toon Moene) (1997-11-29)
Re: Turbo Pascal 1.0 trivia jl-wahl@access.digex.net (Jerry L. Wahl) (1997-11-29)
[3 later articles]
| List of all articles for this month |

From: pausch@saaf.se (Paul Schlyter)
Newsgroups: comp.lang.pascal.borland,comp.compilers,comp.lang.misc,comp.os.cpm
Date: 28 Nov 1997 00:58:06 -0500
Organization: Svensk Amat|rAstronomisk F|rening
References: 97-11-139
Keywords: Pascal, history

Arne Frick <africk@ilk.de> wrote:


> I am interested in the answer to the following question and couldn't
> find anything on the net.
>
> Remember the original Turbo Pascal for CP/M compiler from Borland? A
> colleague claims it was based on p-code, but my memory tells me
> otherwise.


Your memory tells you right. Turbo Pascal 1.0 did generate machine code.
It didn't optimize the code at all, but unoptimized machine code still
runs much faster than interpreted p-code.


> As far as I remember, it was the first native-code compiler for
> Pascal at the time.


It wasn't -- Pascal MT/+ for instance, which pre-dated Turbo Pascal,
did also generate machine code.


However, Turbo Pascal 1.0 was the first Pascal compiler with an
integrated development environment for CP/M. It was also amazingly
compact - compiler, edutor and runtime library all fit in 28K,
while other compilers typically needed twice as much for the compiler
alone.


Turbo Pascal did simplify things a little bit -- there was no link
step, instead TP generated absolute machine code. The entire run-time
library (some 11-12 K) was always included in the runtime, always at
the same memory addresses.


--
----------------------------------------------------------------
Paul Schlyter, Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40, S-114 38 Stockholm, SWEDEN
e-mail: pausch@saaf.se paul.schlyter@ausys.se paul@inorbit.com
WWW: http://spitfire.ausys.se/psr -- updated daily!
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.