From: wilson@dbit.com (John Wilson)
Subject: Re: RT-11/TSX-PLUS Year 2000 Compliant Application Programs
Date: 1998/10/14 [thread overview]
Message-ID: <3624b343.0@news.wizvax.net> (raw)
In-Reply-To: 701msk$ksc@web.nmti.com
In article <701msk$ksc@web.nmti.com>,
Peter da Silva <peter@baileynm.com> wrote:
>Since the problem isn't "recompiling", it's finding where to add the two
>extra digits, I'm not sure that you're making the point you think you're
>making. If a bigger time_t is something that scares you, then you haven't
>done enough ports with MUCH bigger problems than that.
I hope you're picturing a port to a different OS with a bigger time_t,
because if you're thinking of duplicate libraries and/or system calls
existing side by side on the same system with different sizes of time_t,
it isn't going to be as much fun as you make it sound.
>I have a bigger problem with the buggers who wrote code that "knows" an
>integer and a pointer are the same size. Actually, my biggest gripe is
>with compiler vendors who come up with "long long" for their 64-bit ports
>because they don't have the guts to break all the "all-the-world's-a-VAX"
>code out there.
What C really needed was a way to just say straight out "I want an unsigned
integer of at least ___ size", like the FORTRAN INTEGER*2/INTEGER*4/etc.
but maybe extended a little. Instead we get in this silly situation where
different compilers of the same language for the same machine, use different
sizes for basic data types, you can't count on anything.
>But then that's something I've been griping about since 1980 when I first
>tried to port PDP-11 code to 4.1BSD. They should have made "long" a 64
>bit value on the first VAX port, and the issue would never have arisen.
>
>(instead we'd be griping about the 128 bit problem now)
Integers will *never* be big enough. There are really two main categories of
things in computers: (a) a bunch of things, and (b) a potentially infinite
number of things. Using your favorite size of integer to count (a) isn't a
problem, but people keep thinking that the *next* time we increase the word
size it will be enough for (b)... Some things *should* be done with multiple
precision math!
John Wilson
D Bit
next prev parent reply other threads:[~1998-10-14 4:00 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-01 4:00 RT-11/TSX-PLUS Year 2000 Compliant Application Programs Jerome Fine
1998-10-02 4:00 ` Les LaZar [Zoltech Corp]
1998-10-02 4:00 ` John Wilson
1998-10-02 4:00 ` Stuart Brook
1998-10-03 4:00 ` Mike Haertel
1998-10-03 4:00 ` Stuart Brook
1998-10-03 4:00 ` Les LaZar [Zoltech Corp]
1998-10-03 4:00 ` John Wilson
1998-10-05 4:00 ` Jerome Fine
1998-10-05 4:00 ` Stuart Brook
1998-10-03 4:00 ` Roger Ivie
1998-10-03 4:00 ` J.C.B.Sharp
1998-10-05 4:00 ` MOSES
1998-10-10 4:00 ` ian hammond
1998-10-10 4:00 ` Megan
1998-10-11 4:00 ` ian hammond
1998-10-10 4:00 ` Stuart Brook
1998-10-11 4:00 ` Megan
1998-10-12 4:00 ` Jerome Fine
1998-10-12 4:00 ` billy
1998-10-14 4:00 ` Jerome Fine
1998-10-14 4:00 ` billy
1998-10-15 4:00 ` ian hammond
1998-10-12 4:00 ` Stuart Brook
1998-10-13 4:00 ` Jerome Fine
1998-10-13 4:00 ` Tim Shoppa
1998-10-13 4:00 ` Peter da Silva
1998-10-13 4:00 ` Tim Shoppa
1998-10-14 4:00 ` Peter da Silva
1998-10-14 4:00 ` John Wilson [this message]
1998-10-14 4:00 ` Peter da Silva
1998-10-14 4:00 ` Y2038 problems (Re: RT-11/TSX-PLUS Year 2000 Compliant Application Programs) Tim Shoppa
1998-10-14 4:00 ` Peter da Silva
1998-10-15 4:00 ` Megan
1998-10-15 4:00 ` Peter da Silva
1998-10-15 4:00 ` Peter da Silva
1998-10-16 4:00 ` Joel Garry
1998-10-16 4:00 ` TTK Ciar
1998-10-17 4:00 ` Bill Gunshannon
1998-10-17 4:00 ` TTK Ciar
1998-10-18 4:00 ` Jerome Fine
1998-10-18 4:00 ` Contest: Year 2258 and RT-11 :-) Tim Shoppa
1998-10-18 4:00 ` John Wilson
1998-10-18 4:00 ` Tim Shoppa
1998-10-18 4:00 ` John Wilson
1998-10-18 4:00 ` Tim Shoppa
1998-10-18 4:00 ` John Wilson
1998-10-19 4:00 ` Y2038 problems (Re: RT-11/TSX-PLUS Year 2000 Compliant Application Programs) Bill Gunshannon
1998-10-19 4:00 ` Megan
1998-10-19 4:00 ` TTK Ciar
1998-10-20 4:00 ` Bill Gunshannon
1998-10-16 4:00 ` Y2038 problems (Re: RT-11/TSX-PLUS Year 2000 Compliant Lee K. Gleason
1998-10-16 4:00 ` Bob Schor
1998-10-16 4:00 ` TTK Ciar
1998-10-17 4:00 ` Bill Gunshannon
1998-10-17 4:00 ` TTK Ciar
1998-10-17 4:00 ` Peter da Silva
1998-10-17 4:00 ` Stuart Brook
1998-10-18 4:00 ` Chris
1998-10-18 4:00 ` Stuart Brook
1998-10-19 4:00 ` Bad Language, Was: " Chris
1998-10-19 4:00 ` Stuart Brook
1998-10-19 4:00 ` Martin Vorlaender
1998-10-19 4:00 ` Bill Gunshannon
1998-10-19 4:00 ` Bill Gunshannon
1998-10-18 4:00 ` Toon Moene
1998-10-17 4:00 ` Peter da Silva
1998-10-16 4:00 ` Tim Shoppa
1998-10-16 4:00 ` Y2038 problems (Re: RT-11/TSX-PLUS Year 2000 Compliant Application Programs) TTK Ciar
1998-10-15 4:00 ` Megan
1998-10-14 4:00 ` RT-11 Wish List (Re: Y2038 problems (Re: RT-11/TSX-PLUS Year 2000 Compliant Application Programs)) Tim Shoppa
1998-10-15 4:00 ` Bob Schor
1998-10-16 4:00 ` Megan
1998-10-17 4:00 ` RT-11/TSX-PLUS Year 2000 Compliant Application Programs Stuart Brook
1998-10-17 4:00 ` Jerome Fine
1998-10-13 4:00 ` ian hammond
1998-10-15 4:00 ` Jerome Fine
[not found] ` <36234E4D.9EE26 <F0snp9.691@world.std.com>
1998-10-14 4:00 ` Jerome Fine
1998-10-14 4:00 ` billy
1998-10-16 4:00 ` Joel Garry
1998-10-16 4:00 ` John Wilson
1998-10-16 4:00 ` Stuart Brook
1998-10-17 4:00 ` John Wilson
1998-10-17 4:00 ` Stuart Brook
1998-10-18 4:00 ` Megan
1998-10-14 4:00 ` Megan
-- strict thread matches above, loose matches on Subject: below --
1998-10-12 4:00 Jerome Fine
1998-10-05 4:00 Jerome Fine
1998-10-06 4:00 ` MOSES
1998-09-28 4:00 Jerome Fine
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox