comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Operating System in Ada (was Ada --> C Translation)
Date: 1998/10/13
Date: 1998-10-13T00:00:00+00:00	[thread overview]
Message-ID: <1998Oct13.041000.1@eisner> (raw)
In-Reply-To: 87d87xmdkn.fsf@mihalis.ix.netcom.com

In article <87d87xmdkn.fsf@mihalis.ix.netcom.com>, Chris Morgan <mihalis@ix.netcom.com> writes:
> kilgallen@eisner.decus.org (Larry Kilgallen) writes:
> 
>> The operating system that most people would think about copying first
>> is Unix -- and that seems like a non-starter from its anti-Ada interfaces
>> (null-terminated strings and the like).  Yes it is possible to interact,
>> but it is not in the "spirit" of Ada.
> 
> I totally disagree with this. My view of Ada strings is that they are
> a higher level construct than C style strings. I believe at least some
> Ada implementations on top of Unix simply use many of the standard C
> library's string functions under the hood. I may be wrong but isn't a
> null-terminated string a valid representation of an Ada string?

Ada strings allow a null in the middle, without terminating the string.
To the extent that an operating system accepts that, it would behave
quite differently from what a C programmer would expect, and would
not match Unix.  I believe the null termination is defined in the C
standard.

Larry KIlgallen




  parent reply	other threads:[~1998-10-13  0:00 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-20  0:00 Win CE target William A Whitaker
1998-09-20  0:00 ` Tucker Taft
1998-09-21  0:00   ` dennison
1998-09-21  0:00     ` dewarr
1998-09-28  0:00       ` Ada --> C Translation, was: " Stefan Helfert
1998-09-29  0:00         ` Tucker Taft
1998-09-30  0:00           ` dewarr
1998-09-29  0:00         ` Robert A Duff
1998-10-10  0:00           ` Dr Amirez
1998-10-11  0:00             ` Dale Stanbrough
1998-10-10  0:00               ` Dr Amirez
1998-10-11  0:00                 ` Dale Stanbrough
1998-10-11  0:00                   ` Dr Amirez
1998-10-12  0:00                     ` Larry Kilgallen
1998-10-13  0:00                       ` dennison
1998-10-12  0:00                     ` Niklas Holsti
1998-10-12  0:00                 ` PC
1998-10-12  0:00                   ` Operating System in Ada (was Ada --> C Translation) Larry Kilgallen
1998-10-12  0:00                     ` Tom Moran
1998-10-12  0:00                       ` Brian Rogoff
1998-10-13  0:00                         ` dennison
1998-10-13  0:00                           ` Brian Rogoff
1998-10-13  0:00                       ` Tucker Taft
1998-10-12  0:00                     ` Chris Morgan
1998-10-13  0:00                       ` Dale Stanbrough
1998-10-13  0:00                       ` Larry Kilgallen [this message]
1998-10-14  0:00                       ` dewarr
1998-10-12  0:00                     ` dennison
1998-10-21  0:00                     ` Van Snyder
1998-10-22  0:00                       ` Tom Moran
1998-10-12  0:00                 ` Ada --> C Translation, was: Win CE target dennison
1998-10-12  0:00                   ` Larry Kilgallen
1998-10-14  0:00                   ` dewarr
1998-10-14  0:00                     ` Andi Kleen
1998-10-13  0:00             ` Robert I. Eachus
1998-10-14  0:00               ` Samuel Mize
1998-10-16  0:00                 ` Tasking/blocking system calls (was: Ada --> C Translation) Mats Weber
1998-09-20  0:00 ` Win CE target dewarr
1998-09-20  0:00 ` dewarr
1998-09-23  0:00 ` falis
replies disabled

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