comp.lang.ada
 help / color / mirror / Atom feed
From: "G.B." <bauhaus@notmyhomepage.invalid>
Subject: Re: Why does Ada compile slower than Python?
Date: Tue, 3 Oct 2017 15:41:58 +0200
Date: 2017-10-03T15:41:58+02:00	[thread overview]
Message-ID: <or0436$5lj$1@dont-email.me> (raw)
In-Reply-To: <PXLAB.1004251$gM6.409757@fx03.am4>

On 03.10.17 15:07, bartc wrote:
> Such languages are not really designed for rapid turn-around.

GNAT, specifically, has modes that are closer to what Python
does. When GNAT "just checks" (-gnatc), or when the programmer
asks for "minimal recompilation" only (-m), these and other
switches will speed things up.
  Separate compilation also reduces the number of units that
need to be compiled again, e.g. when unit B has not changed
but unit A has, then only unit A needs to be compiled.

OTOH, intense checking or compiling Java or Swift in Eclipse or
Xcode  happens at all times, so that one doesn't notice all
the translation work---but the processor does! As Python is
finally getting an optional type system as part of the written
language, not surprisingly, type checking is expensive for this
Python and translation takes more time.


  reply	other threads:[~2017-10-03 13:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02 23:01 Why does Ada compile slower than Python? Victor Porton
2017-10-03  0:05 ` Leff Ivanov
2017-10-03  1:11 ` gautier_niouzes
2017-10-03 11:31   ` Brian Drummond
2017-10-03 20:14   ` Randy Brukardt
2017-10-03 21:23     ` gautier_niouzes
2017-10-03 13:07 ` bartc
2017-10-03 13:41   ` G.B. [this message]
2017-10-03 21:08 ` Victor Porton
2017-10-04 15:00   ` Simon Wright
2017-10-18  5:56   ` olivermkellogg
2017-10-18  6:38     ` Paul Rubin
2017-10-18  7:13       ` Dmitry A. Kazakov
2017-10-18  7:34         ` Björn Lundin
2017-10-18  8:02           ` Dmitry A. Kazakov
2017-10-20  6:25             ` gautier_niouzes
2017-10-04  0:21 ` Mace Ayres
2017-10-04  1:51   ` Andrew Shvets
2017-10-04  1:54 ` Andrew Shvets
2017-10-04 15:47 ` gautier_niouzes
2017-10-04 16:03   ` Victor Porton
2017-10-07 11:47     ` Blady
replies disabled

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