comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: LALR parser question
Date: Thu, 2 May 2013 16:57:20 -0500
Date: 2013-05-02T16:57:20-05:00	[thread overview]
Message-ID: <klung8$ld2$1@munin.nbi.dk> (raw)
In-Reply-To: op.wwfqzzi0ule2fv@cardamome

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]

"Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> wrote in message 
news:op.wwfqzzi0ule2fv@cardamome...
Le Thu, 02 May 2013 03:49:53 +0200, Randy Brukardt <randy@rrsoftware.com>
a écrit:
>> I tend to agree that the speed of parsing doesn't matter that much, but 
>> you
>> would be surprised at how slow some compilers were at parsing and syntax
>> analysis, especially before GNAT came out. We actually had a pretty 
>> decent
>> business from companies that bought our fast compiler just to do
>> pre-compiles on before using their main development slug to build the 
>> actual
>> system.
>
>More precisely, is there an average picture? What is considered fast and 
>what is considered slow? Which amount of sample Ada sources parsed in 
>which amount of time? How slow was their "main development slug"? How fast 
>is Janus Ada compared to theirs?

I couldn't answer these questions numerically; we didn't own those other 
compilers that were too slow. And it was a long time ago. I'd heard that in 
some cases it was a factor of 10. But the numbers are hardly relevant today. 
Obviously, the developers thought that they saved enough time doing 
check-out compilations using Janus/Ada to justify paying for a license, 
which was not free. So that suggests that there the main system was pretty 
slow (probably on the order of hours).

After all, in those days it took 4 or so hours to do a full recompile of 
Janus/Ada. (It's under 5 minutes today.) We spent a lot of effort trying not 
to make changes to the symboltable in order to avoid those long compiles, 
which lead to all kinds of misuses of existing components. It's always a 
pain when one of those turns up (these days, I change them to have 
meaningful names and fewer tricks, of course, although its not always worth 
the effort to change).

                                                           Randy. 




  reply	other threads:[~2013-05-02 21:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-28 13:37 LALR parser question Stephen Leake
2013-04-28 14:43 ` Dmitry A. Kazakov
2013-04-30  1:19   ` Yannick Duchêne (Hibou57)
2013-04-30  2:03     ` John B. Matthews
2013-04-30  4:11       ` Yannick Duchêne (Hibou57)
2013-04-30 11:55         ` Peter C. Chapin
2013-04-30 13:14           ` john
2013-04-30 14:14             ` Dmitry A. Kazakov
2013-05-01 11:33             ` Peter C. Chapin
2013-04-30 16:06     ` Shark8
2013-04-30 17:15       ` Yannick Duchêne (Hibou57)
2013-04-30 17:51         ` Shark8
2013-04-30 18:52           ` Yannick Duchêne (Hibou57)
2013-05-01 12:31         ` Stephen Leake
2013-05-01 13:57           ` Shark8
2013-04-30 21:18       ` Dmitry A. Kazakov
2013-04-30 22:09         ` Shark8
2013-05-02  1:49 ` Randy Brukardt
2013-05-02  2:39   ` Yannick Duchêne (Hibou57)
2013-05-02 21:57     ` Randy Brukardt [this message]
2013-05-06 18:25     ` Oliver Kellogg
2013-05-03  9:45   ` Stephen Leake
2013-05-03 22:57     ` Randy Brukardt
2013-05-06  9:45     ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox