comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Ragged Array Proposal
Date: 1999/09/25
Date: 1999-09-25T00:00:00+00:00	[thread overview]
Message-ID: <7sij2e$suf$1@nnrp1.deja.com> (raw)
In-Reply-To: 37EBD2F3.E1E32672@ftw.rsc.raytheon.com

In article <37EBD2F3.E1E32672@ftw.rsc.raytheon.com>,
  Wes Groleau <wwgrol@ftw.rsc.raytheon.com> wrote:
> In the cases of gdb and Apex Duo, where the same debugger
understands
> both C and Ada, then the debugger should be able to understand
>
>    char *fruits[] = { "apple", "orange", "pear" };
>
> So how much work would it be to handle an Ada syntax that has
the
> same underlying implementation?

Quite a bit, the storage structure you are proposing for your
ragged arrays is quite different from the structure implied
by the above C structure. Just because it looks a bit similar
to the human eye at the source level is quite irrelevant. You
would need a way of marking the Ada structure (tricky using
standard debugging formats, because there is no analogous
C format at the storage level), and circuitry in the debugger
for interpreting this structure.

I guess you should add a world class debugger to the list of
things you planning to knock off in your spare time one day :-)

> The loudest complaints I hear from C-sick folks (who've seen
Ada 83
> but never heard of Ada.Strings.* or Interfaces.C) concerns
Ada's
> alleged lack of string capabilities.

Anyone can complain about anything, especially when the
complaint is based on willful ignorance (willful here because
any C programmer who wants to find out about the string
capabilities in Ada, which are far more powerful than those
in C of course, can easily do so!)




Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-09-25  0:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <37e7c08e@eeyore.callnetuk.com>
1999-09-22  0:00 ` Ragged Array Proposal Ted Dennison
1999-09-22  0:00   ` Ray Blaak
1999-09-23  0:00     ` Ted Dennison
1999-09-23  0:00     ` Tucker Taft
1999-09-23  0:00       ` Nick Roberts
1999-09-23  0:00         ` Hyman Rosen
1999-09-24  0:00           ` Nick Roberts
1999-09-24  0:00             ` Hyman Rosen
1999-09-25  0:00               ` Robert Dewar
1999-09-27  0:00                 ` Hyman Rosen
1999-09-27  0:00                   ` Brian Rogoff
1999-09-28  0:00                   ` Robert Dewar
1999-09-24  0:00         ` Robert Dewar
1999-09-24  0:00           ` Wes Groleau
1999-09-25  0:00             ` Robert Dewar [this message]
1999-09-25  0:00             ` Robert Dewar
1999-09-24  0:00         ` Ted Dennison
1999-09-24  0:00           ` Nick Roberts
1999-09-24  0:00       ` Robert Dewar
1999-09-24  0:00     ` Robert Dewar
1999-09-23  0:00 ` Robert I. Eachus
1999-09-24  0:00   ` Nick Roberts
1999-09-25  0:00     ` Robert Dewar
1999-09-25  0:00     ` Robert Dewar
1999-09-25  0:00     ` Robert Dewar
1999-09-27  0:00     ` Ted Dennison
1999-09-27  0:00       ` Pascal Obry
1999-09-28  0:00         ` Ted Dennison
1999-09-28  0:00           ` Robert Dewar
1999-09-29  0:00             ` Geoff Bull
1999-09-28  0:00       ` Robert Dewar
replies disabled

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