comp.lang.ada
 help / color / mirror / Atom feed
From: Chris Morgan <mihalis@ix.netcom.com>
Subject: Re: renaming Interfaces.Java.Ada_To_Java_String to the + operator
Date: 1998/01/11
Date: 1998-01-11T15:18:55-06:00	[thread overview]
Message-ID: <87u3bah4k1.fsf@ix.netcom.com> (raw)
In-Reply-To: dewar.884542283@merv


dewar@merv.cs.nyu.edu (Robert Dewar) writes:

> That's a very legitimate concern and indeed is one of the major arguments
> in favor of thin bindings. However, it is still reasonable to worry
> about execution time efficiency! (I don't understand your comment about
> compilation time here, I don't see that as an issue at all).

For some reason your mention of quadratic time made me think of
parsing the line of code I gave (no idea what order parsing actually
would be) but I did mention efficiency as well by which I meant the
run-time behaviour - I am aware for instance that 

text_io.put(a & b & c .... );

used to be very unpleasantly slow with at least one Ada83 compiler.

> 
> From my point of view
> 
>    (a,b,c,d,e,f,g)
> 
> is as reasonable translation of
> 
>    a,b,c,d,e,f,g
> 
> as
> 
>    a & b & c & d & e & f & g
> 
> actually, I think it is MORE reasonable. Now of course we can have & take
> care of the conversions if they are needed automatically, in which case
> the fair comparison is with
> 
>    (+a,+c,+c,+d,+e,+f,+g)
> 
> but still that's fairly reasonable, and I don't think any of these
> conventions will intefere with inter-lobel transfer of knowledge.


I think all those would be fine. I was just saying it was nice that
someone had offered something to allow an approximation of the varargs
C functions rather than the previous approach of saying "sorry, Ada
doesn't do varargs so you will have to use the non-varargs versions
instead" which wouldn't have fitted in with my accustomed style of
Motif programming.

Chris



-- 
Chris Morgan <mihalis at ix.netcom.com>
     "I'm considering throwing myself out of the window.  It
      wouldn't do me much damage because we're on the ground 
      floor, but it might make for a bit of variety."  - Lizzy Bryant




  reply	other threads:[~1998-01-11  0:00 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-11  0:00 renaming Interfaces.Java.Ada_To_Java_String to the + operator Terry J. Westley
1998-01-10  0:00 ` Robert Dewar
1998-01-10  0:00   ` Matthew Heaney
1998-01-13  0:00     ` Tom Moran
1998-01-13  0:00       ` Robert Dewar
1998-01-13  0:00       ` Stephen Leake
1998-01-13  0:00       ` Stephen Leake
1998-01-13  0:00         ` Nick Roberts
     [not found]       ` <En3Cxz.7HD@world.std.com>
1998-01-20  0:00         ` Robert Dewar
1998-01-21  0:00           ` Stephen Leake
1998-01-22  0:00           ` Robert Dewar
1998-01-22  0:00             ` Anonymous
     [not found]               ` <dewar.885498969@merv>
1998-01-23  0:00                 ` Tom Moran
1998-01-23  0:00                 ` Geert Bosch
1998-01-23  0:00             ` Anonymous
1998-01-24  0:00             ` Tucker Taft
1998-01-11  0:00   ` Chris Morgan
1998-01-11  0:00     ` Robert Dewar
1998-01-11  0:00       ` Chris Morgan
1998-01-11  0:00         ` Robert Dewar
1998-01-11  0:00           ` Chris Morgan [this message]
1998-01-11  0:00             ` Robert Dewar
1998-01-11  0:00 ` Nick Roberts
1998-01-11  0:00   ` Robert Dewar
1998-01-14  0:00     ` Anonymous
1998-01-14  0:00       ` Robert Dewar
1998-01-11  0:00   ` Brian Rogoff
1998-01-13  0:00     ` Terry J. Westley
1998-01-14  0:00       ` Robert Dewar
1998-01-15  0:00         ` Nick Roberts
1998-01-15  0:00           ` Robert Dewar
1998-01-16  0:00           ` Michael F Brenner
1998-01-16  0:00             ` Robert Dewar
1998-01-16  0:00             ` Nick Roberts
1998-01-16  0:00               ` Robert Dewar
1998-01-17  0:00                 ` miniscences Nick Roberts
1998-01-17  0:00                   ` miniscences Robert Dewar
1998-01-19  0:00                 ` renaming Interfaces.Java.Ada_To_Java_String to the + operator Anonymous
1998-01-25  0:00                   ` Matthew Heaney
1998-01-12  0:00 ` Tucker Taft
replies disabled

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