digitalmars.D - [ offtopic ] About the "C++ Compilation Speed" article on DrDobbs
- Victor Vicente de Carvalho (5/5) Jun 04 2012 Walter:
- SomeDude (7/13) Jun 04 2012 They are implemented in the D compiler as part of the language
- Dejan Lekic (7/13) Jun 06 2012 I believe that is one of the reasons why DigitalMars C/C++ compiles
Walter: On this publication from 2010 http://www.drdobbs.com/blogs/cpp/228701711 you gave some insight and promised a follow up on what design decisions are important to make a compiler fast. Did you happen to have written it?
Jun 04 2012
On Monday, 4 June 2012 at 16:03:34 UTC, Victor Vicente de Carvalho wrote:Walter: On this publication from 2010 http://www.drdobbs.com/blogs/cpp/228701711 you gave some insight and promised a follow up on what design decisions are important to make a compiler fast. Did you happen to have written it?They are implemented in the D compiler as part of the language design (modules, no preprocessor, avoidance of ambiguities), and I believe the C++ compiler is faster than most others, although the language doesn"t allow many optimizations, due to the preprocessor and the numerous syntaxic ambiguities.
Jun 04 2012
On Mon, 04 Jun 2012 18:03:33 +0200, Victor Vicente de Carvalho wrote:Walter: On this publication from 2010 http://www.drdobbs.com/blogs/cpp/228701711 you gave some insight and promised a follow up on what design decisions are important to make a compiler fast. Did you happen to have written it?I believe that is one of the reasons why DigitalMars C/C++ compiles faster than the rest... -- Dejan Lekic mailto:dejan.lekic(a)gmail.com http://dejan.lekic.org
Jun 06 2012