comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Musing on defining attributes and the ability to define an "abstract type X"-interface.
Date: Thu, 10 Aug 2017 19:40:29 -0500
Date: 2017-08-10T19:40:29-05:00	[thread overview]
Message-ID: <omiudu$t7o$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: omh0da$1an0$1@gioia.aioe.org

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message 
news:omh0da$1an0$1@gioia.aioe.org...
> On 2017-08-10 01:22, Randy Brukardt wrote:
...
>> You (you meaning developers in general here) do care a lot about
>> performance; if Ada programs for Ada 2020 performed more like Python
>> programs than C programs, there would be a major outcry.
>
> I mean minor performance penalties, not something catastrophic.

A lot of the stuff you ask for would result in Ada performing a lot more 
like Python than C, simply because implementing it would require a more 
interpretive approach - more like finding the appropriate action in a state 
machine rather than just executing the generated code. (Some parts of Ada 
are already like that, especially type conversions and memberships involving 
class-wide types.) That's especially true when every type has the 
compatibility.

                                       Randy.



      reply	other threads:[~2017-08-11  0:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-20  0:06 Musing on defining attributes and the ability to define an "abstract type X"-interface Shark8
2017-07-20  7:52 ` Dmitry A. Kazakov
2017-07-20 16:37   ` Shark8
2017-07-20 17:40     ` Dmitry A. Kazakov
2017-07-20 20:12     ` Jacob Sparre Andersen
2017-08-04  3:05       ` Shark8
2017-08-04  6:48         ` Simon Wright
2017-08-04  7:10         ` Dmitry A. Kazakov
2017-08-05  0:17         ` Randy Brukardt
2017-08-05  6:25           ` Dmitry A. Kazakov
2017-08-05 16:51           ` Shark8
2017-08-05 17:18             ` Dmitry A. Kazakov
2017-08-05 21:29               ` Shark8
2017-08-06  7:04                 ` Dmitry A. Kazakov
2017-08-07 23:06                 ` Randy Brukardt
2017-08-08 17:28                   ` Shark8
2017-08-09  1:12                     ` Randy Brukardt
2017-08-09 18:17                     ` G.B.
2017-08-07 23:12             ` Randy Brukardt
2017-08-08  8:10               ` Dmitry A. Kazakov
2017-08-09  0:44                 ` Randy Brukardt
2017-08-09  6:55                   ` Dmitry A. Kazakov
2017-08-09 23:22                     ` Randy Brukardt
2017-08-10  7:02                       ` Dmitry A. Kazakov
2017-08-11  0:40                         ` Randy Brukardt [this message]
replies disabled

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