From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Suitability of Ada as a general-purpose language
Date: Fri, 3 Aug 2012 20:21:42 +0000 (UTC)
Date: 2012-08-03T20:21:42+00:00 [thread overview]
Message-ID: <jvhbsm$pgi$1@dont-email.me> (raw)
In-Reply-To: op.wihb1pl7ule2fv@douda-yannick
On Fri, 03 Aug 2012 21:21:15 +0200, Yannick Duchêne (Hibou57) wrote:
> Does that mean that “not decently sized” applications are not Ada's
> target? Then, any one can define what “decently sized” is? It's not fair
> that when a compiler fails in an aspect (an aspect which is not relevant
> to its main audience, I agree), to get the point away with pretexts.
>
> The Hello World program here, is a place‑holder for tiny applications.
> There may be good reasons for people to expect tiny applications to have
> tiny executable images: there may be a lot of them, whose size
> cumulates, and they may be launched often for a short time, in sequence;
> better a tiny executable image here. Then, the big Hello World image can
> give people an honest enough feeling of bloating or else poor
> dependencies management capabilities.
>
> GNAT producing big executable images for tiny applications, and GNAT
> purpose not being at producing efficient executable image for that kind
> of application, is not a reason to push that issue away.
You make a good case. And I am seeing executables of under 1K on the AVR,
so it is definitely possible (though without much library or any RTS).
I haven't tried linker settings or "strip" or other tools to see how
small an executable I can get on Linux.
But reducing executable size shouldn't be something we have to work to
achieve; the tools should do it for us. Randy points out that non-Ada
specific tools may not be well suited to helping us...
- Brian
next prev parent reply other threads:[~2012-08-10 4:16 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 11:43 Suitability of Ada as a general-purpose language Dufr
2012-07-30 12:12 ` Patrick
2012-07-30 12:37 ` Georg Bauhaus
2012-07-30 13:27 ` Patrick
2012-07-30 13:45 ` Dmitry A. Kazakov
2012-07-30 13:50 ` Patrick
2012-07-30 13:55 ` Patrick
2012-07-30 14:14 ` Dmitry A. Kazakov
2012-07-30 13:04 ` francois_fabien
2012-07-30 13:45 ` Vasiliy Molostov
2012-07-30 13:55 ` Vasiliy Molostov
2012-07-31 14:28 ` Marc C
2012-08-04 14:07 ` Vasiliy Molostov
2012-07-30 14:19 ` Ludovic Brenta
2012-07-30 14:34 ` Yannick Duchêne (Hibou57)
2012-07-30 15:26 ` Dufr
2012-07-30 16:05 ` Patrick
2012-07-30 16:11 ` Georg Bauhaus
2012-07-30 22:06 ` Brian Drummond
2012-07-31 4:19 ` Randy Brukardt
2012-08-03 19:21 ` Yannick Duchêne (Hibou57)
2012-08-03 20:21 ` Brian Drummond [this message]
2012-08-04 2:48 ` Vasiliy Molostov
2012-07-30 16:07 ` Ludovic Brenta
2012-07-30 16:45 ` Dmitry A. Kazakov
2012-07-30 18:03 ` Patrick
2012-07-30 19:33 ` Dufr
2012-07-30 20:04 ` Patrick
2012-08-06 9:01 ` Jacob Sparre Andersen
2012-08-06 9:15 ` Pascal Obry
2012-08-01 23:57 ` Lucretia
2012-08-06 20:52 ` gautier_niouzes
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox