From: Ludovic Brenta <ludovic.brenta@insalien.org>
Subject: Re: Ada access vs C/C++ pointers and references
Date: Thu, 19 Aug 2004 20:01:24 +0200
Date: 2004-08-19T20:02:03+02:00 [thread overview]
Message-ID: <87r7q3qa6j.fsf@insalien.org> (raw)
In-Reply-To: cg1gtp$23u$1@hercules.btinternet.com
"Martin Dowie" writes:
> "Ludovic Brenta" wrote in message
>> Ada does provide for pointer arithmetic, but the fact that one can
>> avoid pointers altogether for most things does help with
>> verification and certification of safety-critical software.
>> Pointer arithmetic is usually confined to a few low-level device
>> drivers.
>>
>> (I work in avionics)
>
> I also work in avionics (have done for 16 years now) and I've
> _never_ needed pointer arithmatic - there's usually a 'better' Ada
> way that produces acceptably fast results. But YMMV :-)
Yes, usually, representation clauses and arrays work wonders.
Occasionally, we do use System.Address, but I can't recall, off the
top of my head, that we ever used "+" or "-" on addresses.
--
Ludovic Brenta.
next prev parent reply other threads:[~2004-08-19 18:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-18 22:27 Ada access vs C/C++ pointers and references Keith H Duggar
2004-08-19 0:21 ` Nick Roberts
2004-08-19 11:42 ` Marin David Condic
2004-08-19 0:29 ` Jim Rogers
2004-08-19 5:19 ` Ludovic Brenta
2004-08-19 6:21 ` Martin Dowie
2004-08-19 11:55 ` Marin David Condic
2004-08-19 18:01 ` Ludovic Brenta [this message]
2004-08-19 7:19 ` j
2004-08-19 7:42 ` Martin Dowie
2004-08-19 12:03 ` Marin David Condic
2004-08-19 7:59 ` Ole-Hjalmar Kristensen
2004-08-19 15:33 ` Keith H Duggar
2004-08-19 21:32 ` Ludovic Brenta
2004-08-19 22:18 ` Hyman Rosen
2004-08-20 7:52 ` Ole-Hjalmar Kristensen
2004-08-19 8:11 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox