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

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

          From comp.compilers

Related articles
[2 earlier articles]
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)
Re: Compile speed: Pascal(Delphi) vs C++ postmaster@paul.washington.dc.us (Paul Robinson) (2004-02-04)
| List of all articles for this month |

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

On 2003-11-12, Lucian Wischik <lu.nn@wischik.com> wrote:
> Chavoux@yahoo.com (Chavoux) wrote:
>>A question: my brother wrote the same programme (fairly large and
>>using database and networking) in both Delphi and Borland C Builder.
>>Apparantly the C Builder version took huge ammounts of time to
>>compile. (So much so that he switched back to rewriting everything in
>>Delphi).
>>I am not familiar at all with the internals of the compilers of these
>>languages, but I would like to know why this is the case?
>
> In Pascal, when you import a unit's interface, it can be imported just
> as a straight binary dump of the symbol table.


Yes, but you have the burden of automake (automatically remake if files
changed), so you have to check if all source files (.pas and .inc) and
dependant units are in sync.


The fact that typical (Borland) Pascal compilers compile a whole string of
units in one go helps though. The dependant units are often already loaded
into mem.


C usually puts that burden on make.


Post a followup to this message

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