comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: Ada compiler differences
Date: Tue, 19 Oct 2004 02:11:45 GMT
Date: 2004-10-19T02:11:45+00:00	[thread overview]
Message-ID: <BJ_cd.579$KJ6.199@newsread1.news.pas.earthlink.net> (raw)
In-Reply-To: <pan.2004.10.18.18.31.36.895210@n_o_p_o_r_k_a_n_d_h_a_m.abyss2.demon.co.uk>

Luke A. Guest wrote:

> Yeah, you'll need to define your own types, but surely these are going to
> be "derived" from the default types, i.e.
> 
>   type Chutney is new Integer range 1 .. 5;
> 
> Are you saying not to even do this?

I rarely do this. What is the point of specifying the representation 
(except at the edges of the application)? Why use 32 (or 64) bits for 5 
values? Let the compiler choose the best representation for the target.

-- 
Jeff Carter
"Apart from the sanitation, the medicine, education, wine,
public order, irrigation, roads, the fresh water system,
and public health, what have the Romans ever done for us?"
Monty Python's Life of Brian
80




  parent reply	other threads:[~2004-10-19  2:11 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18 12:47 Ada compiler differences Magnus
2004-10-18 14:01 ` Jacob Sparre Andersen
2004-10-18 18:31   ` Luke A. Guest
2004-10-18 19:55     ` Nick Roberts
2004-10-19 20:52       ` Luke A. Guest
2004-10-20  1:16         ` Jeffrey Carter
2004-10-18 21:03     ` Martin Dowie
2004-10-19  2:11     ` Jeffrey Carter [this message]
2004-10-18 20:36 ` Nick Roberts
2004-10-18 21:48 ` Mark H Johnson
2004-10-19 14:49   ` Larry Kilgallen
2004-10-19 20:32     ` Mark H Johnson
2004-10-20 16:48       ` Warren W. Gay VE3WWG
2004-10-21 13:54         ` Larry Kilgallen
2004-10-21 20:57           ` Warren W. Gay VE3WWG
2004-10-21 21:05           ` Mark H Johnson
2004-10-26 15:23             ` Larry Kilgallen
2004-10-26 21:21               ` Mark H Johnson
2004-10-27  4:39                 ` Larry Kilgallen
2004-10-27 13:49                   ` Mark H Johnson
2004-10-20  8:02 ` Rod Chapman
2004-10-21 13:55   ` Larry Kilgallen
2004-10-22  8:13     ` Rod Chapman
  -- strict thread matches above, loose matches on Subject: below --
2004-10-20  1:32 Stephen Leake
2004-10-20  5:47 ` Simon Wright
2004-10-26  0:28   ` Randy Brukardt
2004-10-20 13:05 Stephen Leake
2004-10-20 17:17 ` Nick Roberts
2004-10-20 19:44   ` Simon Wright
2004-10-21 21:02     ` Nick Roberts
replies disabled

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