comp.lang.ada
 help / color / mirror / Atom feed
From: dmitry6243@my-deja.com
Subject: Re: Parameter Modes, In In Out and Out
Date: Fri, 12 Jan 2001 11:05:36 GMT
Date: 2001-01-12T11:05:36+00:00	[thread overview]
Message-ID: <93modu$36k$1@nnrp1.deja.com> (raw)
In-Reply-To: 93ko49$auq$1@nnrp1.deja.com

In article <93ko49$auq$1@nnrp1.deja.com>,
  Robert Dewar <robert_dewar@my-deja.com> wrote:

> That was a "mini-computer", so called because it was tiny
> compared to main-frames. You cannot judge typical large
> application program size by looking at mini-computers of
> the time. The 64K memory seemed absurdly small by mainframe
> standards (it was already common to see multiple megabytes of
> physical memory on mainframes at that time). So looking at
> program size on PDP-11's as a guide for typical program size
> is like looking at the Palm Pilot today to get an idea of
> typical program size today (on the Palm Pilot, applications
> larger than 100K are unusual, and indeed my brother's datebk4
> program, at about 450K is the largest application program in
> common use on that platform :-)

Sorry but this is an incorrect analogy. There are three classes of
computers: micro, mini and mainframes. PDP-11 was a mini computer,
that's right. Which means that the nowaday analog would be a
workstation, not the Palm Pilot.

> > The point was that among all arguments pro and cotra
> > including some feature into a universal and long living
> > system, a reference to balance between complexity and
> > functionality is the weakest one. Please note the words
> > "universal" and "long living".
>
> Sounds like you have not had much experience in the real world
> of language design, where this balance is THE primary issue in
> design considerations.

In which units do you measure complexity and functionality? Which
value of Balance = Complexity / Functionality is the goal. 2.5 of
"balance units"? (:-)) This is not a scientific issue. It is about
feeling and belief. From your experience you feel that MD would be
too expensive [= useless (:-))]. I respect your opinion, for I know
your qualification. But it is not enough for me to change my feeling
that MD will be universally adopted in the near future [MD C++
extensions can be already found in the internet]. It would be sad if
this issue would be another nail in the Ada's coffin.

> > IMO the first role should play such factors regularity,
> > correctness and volume.
>
> Sorry, that sentence is too garbled, I have no idea what
> "volume" refers to in the context of language design.

I used this word instead of "complexity". Because it seems that you
have reserved "complexity" for compiler implementation (:-)).

> Regularity (often referred to as orthogonality) is indeed
> a critical feature, and actually this is where it is very
> difficult to get a clear definition of MD (or MI for that
> matter :-)

Restrictions like "a type can be derived from only one base", or
"an operation shall dispatch on parameters of same type having
actual values of same type", or "not all types may have dispatching
subroutines", or "instances of packages having some interesting types
shall be global (instantiated at the lirary level)", or "a derived
type contains a representation of the base" are viewed (at
least by some language users) as irregularities. I would consider such
things as problems, no matter whether I or somebody else knows how to
solve these problems.

> Correctness is an odd concept in the language design
> environnment, unless you mean that something is correct if
> dmitry declares it correct (an approach you seem to have taken
> in the past). If you mean consistency in a formal sense, yes,
> then of course this is a necessary (but not sufficient)
> condition.

I am glad to hear this (:-))

> Language design is much harder than people think. Well meaning
> technical folks with a little bit of experience in language
> semantics, but no experience in full language design, often
> vastly underestimate the difficulties involved.

Did I say that MD is simple?

> > Anyway, let's see what will happen with MD in the static
> > typed languages in the next 5-10 years.
>
> My guess: nothing much. I just don't see any constituency that
> would push in favor of moving in this direction for statically
> typed languages. The arguments are quite weak (note that Dmitry
> has not been able to present any specific arguments, beyond the
> claim that binary operators require MD, but with no good
> examples).

Binary operators do not require MD. MD is required by dispatching
binary operators. And apart from my weak arguments:

1. [Not related to a specific language] Is MD a useful concept?

2. [In Ada context] Do we need MD?

> In practice in Ada, you can always achieve the effects of MD
> in specific instances, and the generalization is just not worth
> the effort, given how rarely it would be of use.

Well, such arguments can be applied to the tagged types in general, as
well as to any language feature, until the language reduces to
something assembler-like. You should admit that the common purpose
languages are evolving in the "slightly" opposite direction.

--
Regards,
Dmitry Kazakov


Sent via Deja.com
http://www.deja.com/



  parent reply	other threads:[~2001-01-12 11:05 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-06  0:11 Parameter Modes, In In Out and Out i.a.mcleod
2001-01-06  4:58 ` tmoran
2001-01-06 17:06   ` Robert Dewar
2001-01-06 19:50     ` tmoran
2001-01-06 20:31       ` Robert Dewar
2001-01-07  1:59     ` John English
2001-01-07  3:51       ` Robert Dewar
2001-01-08 12:06         ` dmitry6243
2001-01-09  4:32           ` Robert Dewar
2001-01-09 10:05             ` dmitry6243
2001-01-09  4:35           ` Robert Dewar
2001-01-09  9:58             ` dmitry6243
2001-01-09 14:13               ` Robert Dewar
2001-01-09 18:29                 ` dmitry6243
2001-01-09 19:55                   ` Robert Dewar
2001-01-10  0:47                     ` Brian Rogoff
2001-01-10 21:50                       ` Robert Dewar
2001-01-10  9:23                     ` dmitry6243
2001-01-10 21:46                       ` Robert Dewar
2001-01-11 11:46                         ` dmitry6243
2001-01-11 16:48                           ` Robert Dewar
2001-01-11 19:52                             ` Thierry Lelegard
2001-01-11 20:10                               ` Pascal Obry
2001-01-12  8:05                                 ` Florian Weimer
2001-01-12 13:31                               ` gasperon
2001-01-12 14:02                                 ` n_brunot
2001-01-12 17:26                                   ` charlet
2001-01-14 18:23                                     ` n_brunot
2001-01-14 21:05                                       ` Robert Dewar
2001-01-15  8:56                                         ` n_brunot
2001-01-12 11:05                             ` dmitry6243 [this message]
2001-01-12 13:55                               ` Robert Dewar
2001-01-12 22:10                                 ` Dale Stanbrough
2001-01-13  1:13                                   ` Robert Dewar
2001-01-13 17:29                                 ` dmitry6243
2001-01-13 18:22                                   ` Robert Dewar
2001-01-13 22:32                                     ` Brian Rogoff
2001-01-14  6:02                                       ` Jeffrey Carter
2001-01-14 14:33                                         ` Robert Dewar
2001-01-14 18:14                                           ` Jeffrey Carter
2001-01-14 21:10                                             ` Robert Dewar
2001-01-14 20:45                                         ` Brian Rogoff
2001-01-14 14:23                                       ` Robert Dewar
2001-01-14 20:42                                         ` Brian Rogoff
2001-01-14 21:17                                           ` Robert Dewar
2001-01-15 20:57                                             ` Brian Rogoff
2001-01-15 16:25                                     ` dmitry6243
2001-02-02  7:06                                       ` Multiple dispatch (was " mark_lundquist
2001-02-02 13:49                                         ` dmitry6243
2001-01-16 12:22                                 ` Georg Bauhaus
2001-01-13  4:46                           ` Larry Kilgallen
     [not found]                           ` <93ko49$auq$1@nnrp1.deja.coOrganization: LJK Software <eiviJtYj+A7W@eisner.decus.org>
2001-01-13  6:00                             ` Robert Dewar
2001-01-11 21:38               ` mark_lundquist
2001-01-12  0:20                 ` John English
2001-01-12 13:57                   ` Robert Dewar
2001-01-12 20:34                     ` mark_lundquist
2001-01-13 18:06                       ` Brian Rogoff
2001-01-11 21:28             ` mark_lundquist
2001-01-12 12:35               ` dmitry6243
2001-01-12 21:22                 ` mark_lundquist
2001-01-13  1:16                   ` Robert Dewar
2001-02-02  5:42                     ` mark_lundquist
2001-02-02 14:55                       ` Stephen Leake
2001-02-02 20:08                         ` Robert Dewar
2001-02-05 15:00                           ` Stephen Leake
2001-01-13 21:26               ` Jean-Pierre Rosen
2001-01-11 21:24           ` mark_lundquist
2001-01-12 12:13             ` dmitry6243
2001-01-06 16:21 ` Jean-Pierre Rosen
2001-01-09 15:15   ` Thierry Lelegard
2001-01-10 21:53     ` Robert Dewar
2001-01-07 19:15 ` DuckE
2001-01-09 20:44 ` Laurent Guerby
2001-01-09 21:46   ` Florian Weimer
2001-01-10 21:57   ` Robert Dewar
2001-01-10 23:51     ` Tucker Taft
2001-01-11  4:23       ` Robert Dewar
2001-01-11 19:28     ` Laurent Guerby
2001-01-18 18:53 ` FAROOQATIF
replies disabled

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