comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Suitability of Ada as a general-purpose language
Date: Mon, 30 Jul 2012 18:11:21 +0200
Date: 2012-07-30T18:11:08+02:00	[thread overview]
Message-ID: <5016b21c$0$6566$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <d0ec950e-1cf5-4310-9eab-d350056d673a@m3g2000vbl.googlegroups.com>

On 30.07.12 17:26, Dufr wrote:

> My worry, which I hope you can dispel, is that the compiled code of my
> (subset-)Ada program may still be less efficient in term of executable
> file size and of execution speed.

Why would that be? Ada was designed so that it would be good
for hard real-time systems. Responsiveness and compact code
are a must. Overhead is an enemy. Checks can be controlled.

Fewer features (of a profile/subset) may even mean a smaller
run-time system.

> Just for a reality check, how big is the executable file of the Hello
> World program? (in simple text mode to standard output).

The size of an executable will depend on whether the run-time system
is a dynamically linked library as usual, or whether you link all
of the Ada run-time system (and other libraries). A few ten KiB
in the first case.


> Also, would there be really so much syntax overhead (verbosity, for
> one), even if I decide to use only a subset of the language (leaving
> out advanced features like concurrency etc)?

An Ada subset means fewer features, but the amount of syntax adding
to its readability is not changed much. Usually, having to clearly
state their wishes as program text helps the programmers to (later)
actually understand what they have written.





  parent reply	other threads:[~2012-08-06 14:26 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 [this message]
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
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