Re: Compile speed: Pascal(Delphi) vs C++

Marco van de Voort <marcov@stack.nl>
3 Dec 2003 17:51:43 -0500

          From comp.compilers

Related articles
Compile speed: Pascal(Delphi) vs C++ Chavoux@yahoo.com (2003-11-11)
Re: Compile speed: Pascal(Delphi) vs C++ fjh@cs.mu.oz.au (Fergus Henderson) (2003-11-11)
Re: Compile speed: Pascal(Delphi) vs C++ lu.nn@wischik.com (Lucian Wischik) (2003-11-11)
Re: Compile speed: Pascal(Delphi) vs C++ marcov@stack.nl (Marco van de Voort) (2003-11-21)
Re: Compile speed: Pascal(Delphi) vs C++ robert.thorpe@antenova.com (Rob Thorpe) (2003-11-21)
Re: Compile speed: Pascal(Delphi) vs C++ vbdis@aol.com (2003-11-21)
Re: Compile speed: Pascal(Delphi) vs C++ randyhyde@earthlink.net (Randall Hyde) (2003-11-21)
Re: Compile speed: Pascal(Delphi) vs C++ marcov@stack.nl (Marco van de Voort) (2003-12-03)
Re: Compile speed: Pascal(Delphi) vs C++ marcov@stack.nl (Marco van de Voort) (2003-12-03)
Re: Compile speed: Pascal(Delphi) vs C++ bobduff@shell01.TheWorld.com (Robert A Duff) (2003-12-03)
Re: Compile speed: Pascal(Delphi) vs C++ torbenm@diku.dk (2003-12-08)
Re: Compile speed: Pascal(Delphi) vs C++ joachim.durchholz@web.de (Joachim Durchholz) (2003-12-08)
Re: Compile speed: Pascal(Delphi) vs C++ rygNOSPAM@gmx.net (Fabian Giesen) (2003-12-08)
Re: Compile speed: Pascal(Delphi) vs C++ bobduff@shell01.TheWorld.com (Robert A Duff) (2003-12-13)
[1 later articles]
| List of all articles for this month |

From: Marco van de Voort <marcov@stack.nl>
Newsgroups: comp.compilers
Date: 3 Dec 2003 17:51:43 -0500
Organization: Eindhoven University of Technology, The Netherlands
References: 03-11-062 03-11-086
Keywords: C, performance, comment
Posted-Date: 03 Dec 2003 17:51:43 EST

On 2003-11-21, VBDis <vbdis@aol.com> wrote:


> - the extra C preprocessor stage and macro expansion
> - C requires larger symbol tables
> - C is harder to parse
> - C is harder to optimize
> - C source code for the same purpose is much longer(???)
> - C is slow in text handling (provided the Delphi compiler is not written in C
> ;-)


The Delphi compiler is written in C++.


The FPC compiler (delphi clone) is written in itself (Object Pascal).


> I also have no experience for a comparison of Turbo C with Turbo Pascal,
> but Turbo C may have been faster than nowadays C++ compilers only due to
> the fewer, simpler, shorter, and less nested header files of that time.


... and the fact it was probably written in handcoded and handtuned asm.
More time was invested in making programs run fast in that era.
[Turbo C was written in C. I used its predecessor Wizard C compiler which
was really nice. To turbo-ize it they buffered lots more source material
in RAM. -John]


Post a followup to this message

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