HLL syntax & structure suited to rapid compilation?

"gswork" <gswork@mailcity.com>
24 Jul 2002 02:22:03 -0400

          From comp.compilers

Related articles
HLL syntax & structure suited to rapid compilation? gswork@mailcity.com (gswork) (2002-07-24)
Re: HLL syntax & structure suited to rapid compilation? steve@lurking.demon.co.uk (Steve Horne) (2002-07-25)
Re: HLL syntax & structure suited to rapid compilation? marcov@toad.stack.nl (Marco van de Voort) (2002-07-31)
Re: HLL syntax & structure suited to rapid compilation? joachim_d@gmx.de (Joachim Durchholz) (2002-08-04)
Re: HLL syntax & structure suited to rapid compilation? ceco@jupiter.com (Tzvetan Mikov) (2002-08-10)
Re: HLL syntax & structure suited to rapid compilation? marcov@toad.stack.nl (Marco van de Voort) (2002-08-10)
Re: HLL syntax & structure suited to rapid compilation? marcov@toad.stack.nl (Marco van de Voort) (2002-08-14)
[4 later articles]
| List of all articles for this month |
From: "gswork" <gswork@mailcity.com>
Newsgroups: comp.compilers
Date: 24 Jul 2002 02:22:03 -0400
Organization: http://groups.google.com/
Keywords: practice
Posted-Date: 24 Jul 2002 02:22:02 EDT

I understand that there are various methods used to speed up
compilation, such as the way memory is used and the parsing methods
employed.


I'd like to ask about the actual syntax of an HLL and how that might
increase compilation. In x86 assembly, for instance, the mnemonics
relate one-to-one with machine instructions. Compilation would be,
presumably, straight translation.


In languages like c, pascal and basic and in specific compilers
therein there is the effort of translating, intelligently, the
syntactically constructed code a programmer writes.


As anecdotal experience, and from what others say, pascal compilers
have a reputation for speedy compilation, c is middling and basic
relatively slow.


First - does that hold true in a generalised way?


Second - If there are consistent differences between HLL compilation
speeds, why? Is this down to an HLL lowering ambiguity in it's
syntactical rules and rigour in data typing (something pascal seems to
do well), or is that really a secondary matter - and compilation speed
is down to algorithms, memory usage and raw cpu cycles (i.e. the
compiler itself being written to benefit from cpu characteristics)?


Thank you.
[I think the difference in speeds has much more to do with the goals of
the compiler than the language being compiled. -John]



Post a followup to this message

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