comp.lang.ada
 help / color / mirror / Atom feed
From: Craig Carey <research@ijs.co.nz>
Subject: Re: The GNU Ada compiler
Date: Sat, 31 Dec 2005 14:36:49 +1300
Date: 2005-12-31T14:36:49+13:00	[thread overview]
Message-ID: <pijbr1t14forqairff1umtrm79vsi27rq8@4ax.com> (raw)
In-Reply-To: 43b189e5$0$26923$9b4e6d93@newsread4.arcor-online.net

On Tue, 27 Dec 2005 19:37:24 +0100, Georg Bauhaus wrote:
>Craig Carey wrote:
>> The GNAT GPL compiler of http://libre.adacore.com/
>>   gnat-gpl-2005-pentium-mingw32msv-bin.exe.zip (libre.act-europe.fr),
>> 
>> is curiously slow:about 9 times slower, or worse.
>
>I get ratios 8/14 and 8/30 on the average when comparing 3.15p with 3.4.5
>(GNAT GPL 2005) and 3.15p with a 4.1 FSF GNAT from August this year,
>compiling a recursive descent parser.

Rewriting that leads to:
(1) FSF GCC 4.1 is 3.75 slower (=30/8) than GNAT 3.15p;
(2) AdaCore GPL GNAT 2005 is 1.75 times slower (14/8) than GNAT 3.15p.

If not in Windows then please say so.

>Part of the speed difference is probably due to --enable-checking
>in non-release compilers (the 4.1 case).

That enables assert statemnts and maybe the effect is not over 10%.

A possible legal consequence of the actions of AdaCore is that
corporations may delete the AdaCore GPL (GNU Public licence) and
throw it away.

In some countries a High Court prosecution of a copyright violator
may only seek a compensation equal to the harm. Unless the law in
New Zealand was changed, then such is the law here. Becuase
corporate end users would be better off using the old GNAT 3.15p
compiler, and it was free, and the standard of the compilers got
too low and might be getting worse, then companies could use the
newest compilers and jettison the licences.

If AdaCore could argue that the profits of those end-users (that
(lawfully) violate its GPL) are too high compared to its own, then
a court could be skeptical. For example, there is a large amount of
evidence at gcc help showing that the leader of Ada preferred to
avoid the outcome more than he preferred to accept it.

The FSF seems to have 2 laywers on its board of directors:

   http://www.fsf.org/about/leadership.html


>Have you compared execution speeds of the executables produced?

I suppose I could compare the sizes under the theory that everything
is much worse in Windows but GNAT 4 is unlikely to build in Windows.

Maybe GNAT for Windows XP could be cross compiled on an OC Systems
OS/390.

I only tested 53 files in my last test, since the AdaCore compiler
crashed. The version 3 Windows compiler and very likely, version 4
too, is going to be unusable. A 

A test could be done where a single *.adb file is increasingly
lengthened by adding procedures that are not nested but that call
each other. It seems that the size of the object file and the compile
times, rise too steeply. A problem is that the C++-ishy GCC backend
is a slave getting repeatedly called and so it lacks an ability to
cause the probably hyper-linear blowout speeds in the size of the *.o
object files (and also compile times) that is suspected.

I could retest as Mr Obry said, but the compiler is on the way out.

However I quite agree with Mr Obry that the formality of producing
the figures needing to show that, is proper. Alternatively the
USAFA's Mr Carlisle (and the DoD owning over 120 millions lines of
Ada code) could be told to cut up those really *big* files (110 KB
or more).






Craig 



  reply	other threads:[~2005-12-31  1:36 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-16 19:03 The GNU Ada compiler Martin Krischik
2005-12-16 22:11 ` Larry Kilgallen
2005-12-18  9:14   ` Martin Krischik
2005-12-18 11:52     ` Adrian Knoth
2005-12-18 18:36       ` Martin Krischik
2005-12-19  3:40         ` Larry Kilgallen
2005-12-19 18:33           ` Martin Krischik
2005-12-19 20:14             ` Larry Kilgallen
2005-12-20 18:21               ` Martin Krischik
2005-12-20 22:59                 ` Steve Whalen
2005-12-21 15:07                   ` Ludovic Brenta
2005-12-27 16:44                     ` Craig Carey
2005-12-27 17:39                       ` Pascal Obry
2005-12-27 18:37                       ` Georg Bauhaus
2005-12-31  1:36                         ` Craig Carey [this message]
2005-12-31  3:21                           ` Jeffrey Creem
2005-12-22 17:34                   ` Martin Krischik
2005-12-22 20:00                     ` Björn Persson
2005-12-23  6:41                       ` Martin Krischik
2005-12-23 18:12                         ` Björn Persson
2005-12-24 18:00                           ` krischik
2005-12-24  0:28                     ` Steve Whalen
2005-12-24  9:23                       ` Larry Kilgallen
2005-12-24 18:09                         ` krischik
2005-12-24 18:05                       ` krischik
2005-12-26  8:37                         ` Steve Whalen
2005-12-26  8:53                           ` krischik
2005-12-26 23:57                             ` Steve Whalen
2005-12-21 11:42                 ` Simon Wright
2005-12-20 18:50               ` Simon Clubley
2006-01-20  0:33                 ` healyzh
2006-01-20  6:57                   ` Martin Krischik
2006-01-20 15:03                     ` Dirk Craeynest
2006-01-21  9:00                       ` Martin Krischik
2005-12-18 20:07 ` Björn Persson
2005-12-18 21:04   ` Martin Krischik
2005-12-18 21:25     ` Adrian Knoth
2005-12-19 14:53       ` Ludovic Brenta
2005-12-19 18:56         ` Martin Krischik
2005-12-20 12:26           ` Ludovic Brenta
2005-12-20 18:22             ` Martin Krischik
2005-12-20  1:10         ` Georg Bauhaus
2005-12-19 18:19       ` Martin Krischik
2005-12-18 22:13     ` Björn Persson
2005-12-28 14:35 ` Marco
2005-12-28 15:12   ` Jeffrey Creem
2005-12-28 19:12   ` Martin Krischik
replies disabled

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