comp.lang.ada
 help / color / mirror / Atom feed
From: charleshixson@earthling.net (Charles Hixson)
Subject: Re: howto make system calls (newbie question)
Date: Wed, 09 May 2001 16:13:14 GMT
Date: 2001-05-09T16:13:14+00:00	[thread overview]
Message-ID: <Xns909C5DCAFB528charleshixsonearthli@207.217.77.22> (raw)
In-Reply-To: 2ecbjJt$+0y8@eisner.encompasserve.org

Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) wrote in
<2ecbjJt$+0y8@eisner.encompasserve.org>: 

>In article <9dauu7$8m913@news.kvaerner.com>, "Tarjei T.
>Jensen" <tarjei.jensen@kvaerner.com> writes: 
>...
>I certainly agree, but I was responding to a thread with
>entries espousing codification of all "standard datatypes"
>that might be used in system calls.  I consider that
>unworkable, because what constitutes a "standard datatype"
>varies so much between various operating systems.  
>Basically, I do not feel there is progress to be made in that
>direction. 
>
Perhaps the problem is the correct level of abstraction.  
Clearly machine/OS specific variations don't belong in the 
standard, but I also feel that SOME way of accomplishing the 
needed tasks does belong in the standard.  It may be that on 
some machines this would be inappropriately inefficient, but at 
least it would be possible.  This is somewhat similar to using a 
numeric 1 to indicate true.  If your machine has a 60 bit word 
length, then this may be quite inefficient.  But it will make 
the transmission of logical information possible.  (I believe 
that this was, indeed, the way that it was done on the CDC7600, 
at least in the Fortran that I used.)

As with the representation of Booleans, so with other things, it 
is frequently true that a less efficient method will be "good 
enough", and that portability will pay back for numerous 
inefficiencies.  And a good compiler could come with specialized 
libraries that would handle the process in a way more 
appropriate to the particular machine/OS.  (On the 7600, it was 
a speed trade off.  The individual bits couldn't be addressed, 
so for speed the >0 comparison was used [I believe that other 
compilers just checked the sign bit]).

-- 
Charles Hixson

Copy software legally, the GNU way!
Use GNU software, and legally make and share copies of software.
See http://www.gnu.org
    http://www.redhat.com
    http://www.linux-mandrake.com
    http://www.calderasystems.com/
    http://www.linuxapps.com/



  reply	other threads:[~2001-05-09 16:13 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-04 20:56 howto make system calls (newbie question) Beard, Frank
2001-05-07 14:42 ` Marin David Condic
2001-05-07 16:41   ` Samuel T. Harris
2001-05-07 18:25     ` Marin David Condic
2001-05-08 20:30       ` Samuel T. Harris
2001-05-08 21:13         ` Marin David Condic
2001-05-08 20:23     ` Samuel T. Harris
2001-05-08  7:34   ` Tarjei T. Jensen
2001-05-08 12:16     ` Larry Kilgallen
2001-05-08 14:12       ` Tarjei T. Jensen
2001-05-08 16:48         ` Larry Kilgallen
2001-05-08 21:40           ` Charles Hixson
2001-05-08 22:53             ` Larry Kilgallen
2001-05-09 16:00               ` Charles Hixson
2001-05-09 17:14                 ` Larry Kilgallen
2001-05-09  8:25           ` Tarjei T. Jensen
2001-05-09 12:28             ` Larry Kilgallen
2001-05-09 16:13               ` Charles Hixson [this message]
2001-05-10  7:17               ` Tarjei T. Jensen
2001-05-08 13:43     ` Marin David Condic
2001-05-12  2:58       ` Randy Brukardt
2001-05-12 13:07         ` Larry Kilgallen
2001-05-14 13:29         ` Ada Libraries (was Re: howto make system calls (newbie question)) Marin David Condic
2001-05-14 19:16           ` Randy Brukardt
2001-05-14 22:35             ` Ada Libraries Marin David Condic
2001-05-14 19:27           ` Ada Libraries (was Re: howto make system calls (newbie question)) tmoran
  -- strict thread matches above, loose matches on Subject: below --
2001-05-10 21:22 howto make system calls (newbie question) Beard, Frank
2001-05-10 20:11 Beard, Frank
2001-05-11 16:03 ` Samuel T. Harris
2001-05-10 19:54 Beard, Frank
2001-05-10 20:41 ` Pascal Obry
2001-05-09 22:28 Beard, Frank
2001-05-09 22:19 Beard, Frank
2001-05-10  6:18 ` Pascal Obry
2001-05-10 12:40 ` Samuel T. Harris
2001-05-10 15:44   ` Stephen Leake
2001-05-09 22:07 Beard, Frank
2001-05-10 12:34 ` Samuel T. Harris
2001-05-09 21:42 Mike Brenner
2001-05-07 17:04 Beard, Frank
2001-05-04 21:08 Beard, Frank
2001-05-04 22:45 ` Jeffrey Carter
2001-05-07 14:47 ` Marin David Condic
2001-05-09 13:41   ` Noam Kloos
2001-05-09 14:17     ` Ted Dennison
2001-05-16 12:45       ` Marc A. Criley
2001-05-16 19:50         ` Ted Dennison
2001-05-09 18:29 ` GianLuigi Piacentini
2001-05-09 19:18   ` David Starner
2001-05-04  7:51 Lars Lundgren
2001-05-04  8:16 ` L.H.Jeong
2001-05-04  8:47   ` Lars Lundgren
2001-05-04 12:12     ` Marc A. Criley
2001-05-04 15:49       ` Marin David Condic
2001-05-04 17:46         ` tmoran
2001-05-04 18:46           ` Marin David Condic
2001-05-05  7:01             ` tmoran
2001-05-04 16:35     ` Jeffrey Carter
2001-05-04 11:00 ` Noam Kloos
2001-05-04 12:01   ` Lars Lundgren
replies disabled

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