From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Weakness of Ada is expensive / security / etc. ? Anything else?
Date: Fri, 17 Jul 2015 10:31:08 -0700 (PDT)
Date: 2015-07-17T10:31:08-07:00 [thread overview]
Message-ID: <494f7dc4-12a9-4dc9-96d9-0985a00b00c5@googlegroups.com> (raw)
In-Reply-To: <084c0dc7-ae74-4cb8-b1fe-78f42de94291@googlegroups.com>
On Friday, July 17, 2015 at 4:19:30 AM UTC-6, Trish Cayetano wrote:
> Hi, here is what I have noted as strengths and weaknesses of Ada. Let me know for any corrections and if you have anything to add... Thank you!
>
> Strength and weaknesses of the language
> Strength
> - Semantics - well defined even in error situations
And the "Bounded Error" option in the spec. (Which is essentially a step between "well-defined and specified behavior" and "undefined behavior".)
> - Strong typing - can be used to reduce the scope (and cost) of analysis
This should not be underestimated; you can protect (e.g.) a database against bad input with strong typing; you can enforce validity-checks and formatting with it too.
> Weaknesses
> - Ada complete language is too complex. True or False? If true, how?
False; while it's a 'big' language it's not difficult and full of gotchas -- if you use it regularly (and 'idiomatically') for a couple of years you're not going to be surprised by much... whereas with C++ you constantly see experts with decade-plus experience being surprised.
> - Ada requires expensive compilers for large systems
Semi-false -- This depends on what you're doing. FSF-GNAT is free, but comes with GPL; AdaCore-GNAT is also free but comes with a DIFFERENT GPL. Others like RR-Software or IBM's (they bought Rational) will have a different license.
> - Ada lacks that web presence greatly. comp.lang.ada is the only location on the internet with an active Ada community.
Semi-true -- others have given places where the Ada programmers hang out; but these places usually have an excellent signal to noise ratio. (There could stand to be more tutorials and such.)
> - How is security a weakness? (Strength can be a weakness too?)
It's not. Security is something you have to consider while designing the program; and having all the security in the world available means absolutely nothing if you don't use it. -- Ada *does* make a lot of security-related things easier with its strong-typing and, funnily enough, with its timing mechanisms. (You can [theoretically] eliminate the timing side-channel attack by marking the "time+maximal operation duration", do the operation, execute a "delay until X" [where X is the calculated time] and now the timing side-channel doesn't exist because that operation executes with constant time.)
next prev parent reply other threads:[~2015-07-17 17:31 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-17 10:19 Weakness of Ada is expensive / security / etc. ? Anything else? Trish Cayetano
2015-07-17 10:46 ` Simon Clubley
2015-07-17 15:35 ` Trish Cayetano
2015-07-17 15:54 ` David Botton
2015-07-17 12:06 ` G.B.
2015-07-17 15:38 ` Trish Cayetano
2015-07-17 12:54 ` David Botton
2015-07-17 15:41 ` Trish Cayetano
2015-07-17 16:20 ` Patrick Noffke
2015-07-17 17:31 ` Shark8 [this message]
2015-07-17 17:43 ` Simon Clubley
2015-07-17 18:39 ` Jeffrey R. Carter
2015-07-17 19:28 ` jm.tarrasa
2015-07-17 21:00 ` Pascal Obry
2015-07-17 21:53 ` Shark8
2015-07-17 22:41 ` Nasser M. Abbasi
2015-07-18 7:40 ` Trish Cayetano
2015-07-19 14:55 ` David Botton
2015-07-20 2:40 ` Norman Worth
2015-07-20 9:52 ` Serge Robyns
2015-07-20 17:35 ` Shark8
2015-07-20 19:13 ` David Botton
2015-07-20 22:12 ` NiGHTS
2015-07-21 1:37 ` Norman Worth
2015-07-21 6:54 ` Dmitry A. Kazakov
2015-07-21 13:31 ` NiGHTS
2015-07-21 16:59 ` Dmitry A. Kazakov
2015-07-21 17:50 ` NiGHTS
2015-07-21 19:44 ` Dmitry A. Kazakov
2015-07-21 20:28 ` Björn Lundin
2015-07-21 22:01 ` Georg Bauhaus
2015-07-21 23:44 ` Shark8
2015-07-22 6:19 ` Dmitry A. Kazakov
2015-07-22 6:13 ` Dmitry A. Kazakov
2015-07-22 7:04 ` Georg Bauhaus
2015-07-22 7:37 ` Dmitry A. Kazakov
2015-07-22 9:29 ` Graham Stark
2015-07-22 10:33 ` Dmitry A. Kazakov
2015-07-22 10:12 ` G.B.
2015-07-22 10:31 ` Dmitry A. Kazakov
2015-07-22 11:20 ` G.B.
2015-07-22 0:17 ` NiGHTS
2015-07-22 6:54 ` Dmitry A. Kazakov
2015-07-22 15:11 ` Shark8
2015-07-22 11:43 ` Brian Drummond
2015-07-24 7:34 ` Egil H H
2015-07-21 11:17 ` Serge Robyns
2015-07-20 17:38 ` Florian Weimer
2015-07-20 17:45 ` Paul Rubin
2015-07-20 17:53 ` Florian Weimer
2015-07-20 18:09 ` Paul Rubin
2015-07-20 18:25 ` Florian Weimer
2015-07-20 18:34 ` Paul Rubin
2015-07-20 19:33 ` Florian Weimer
2015-07-20 20:20 ` Paul Rubin
2015-07-22 18:29 ` Florian Weimer
2015-07-22 19:58 ` Paul Rubin
2015-07-26 19:41 ` Florian Weimer
2015-07-27 1:18 ` Jeremiah
2015-07-22 6:34 ` Stefan.Lucks
2015-07-26 14:51 ` EGarrulo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox