comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Suitability of Ada as a general-purpose language
Date: Mon, 30 Jul 2012 22:06:18 +0000 (UTC)
Date: 2012-07-30T22:06:18+00:00	[thread overview]
Message-ID: <jv70gq$v6u$1@dont-email.me> (raw)
In-Reply-To: d0ec950e-1cf5-4310-9eab-d350056d673a@m3g2000vbl.googlegroups.com

On Mon, 30 Jul 2012 08:26:23 -0700, Dufr wrote:

Of these two languages, I see Ada as stable or increasing in usage, and 
with better long term prospects.

> However, I have not been able to make up my mind on one point: would I
> have to pay a penalty in terms of performance and efficiency if I
> decided to use a large language like Ada, even if only a subset of it?

In performance terms you will lose nothing with Ada, and probably come 
out ahead vs Pascal. (There are probably fewer people caring about Pascal 
tools and tuning them.)

Executable size is a poor measure of efficiency; the Ada runtime system 
(RTS) provides a LOT of facilities that "Hello World" doesn't need. Any 
decent sized application will need them, whatever language it is written 
in. 

It is probably not worth crafting a specially small RTS just to make Ada 
look good on "Hello World" benchmarks! However it could be done... the 
AVR-Ada compiler for tiny embedded processors has effectively no RTS, and 
I am seeing executables of 1K or so to control two stepper motors (Arduino 
+ Motorshield).

> 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)?

Versus Pascal : not much. Versus C or Perl? A lot but it's worth it :-)

- Brian



  parent reply	other threads:[~2012-08-07  6:58 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 [this message]
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