Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

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



On 2003-11-12, Lucian Wischik <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (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.



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.