Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: billm@cygnus.com (TTK Ciar)
Subject: Re: Y2038 problems (Re: RT-11/TSX-PLUS Year 2000 Compliant Application Programs)
Date: 1998/10/19	[thread overview]
Message-ID: <70g3ci$qi7$1@andros.cygnus.com> (raw)
In-Reply-To: 70fb3k$brb$1@info.cs.uofs.edu

In article <70fb3k$brb$1@info.cs.uofs.edu> bill@cs.uofs.edu (Bill Gunshannon) writes:
>In article <70b49p$plo$1@andros.cygnus.com>, billm@cygnus.com (TTK Ciar) writes:
>|> 
>|>   And I apologize again .. my anger isn't directed at you specifically,
>|> it's just a touchy subject in general.  Programming language semantics
>|> and compiler technology were my joy in school, but much of what we know
>|> in theory is unusable in practice because of C's dominance.
>
>C let's you write bad code, but it doesn't force you to do it.  Just as
>you can write bad code in Pascal, you can write good code in C.  It isn't
>the right tool for every job, but then, neither is Pascal, Modula, ADA,
>COBOL, Fortran, APL or PL/1.  The language isn't source of the problem, it
>is the lack of solid background principles that results in the choice of
>the wrong tool for the job.

  I'm not talking about "writing bad code" here.  The definition of 
the language itself puts hard limitations on what the compiler can do 
to optimize and error-check the code.  For instance, in some languages
having one parameter alias another is considered a programmer error 
and the compiler is free to assume that parameters refer to distinct 
data sets.  Not only does C allow for aliasing, but it adopts a model 
which makes antialiasing particularly difficult (and in some cases 
theoretically impossible) to implement.  This and other deficiencies 
prevent the compiler from utilizing ILP beyond a certain point and 
forces it to generate altogether too many load/store operations.  C's 
weak typing etc makes it impossible to catch many errors at compile time, 
and makes it much harder to catch the classes of errors which can theo-
retically be detected at compile time.

  We all know that the complete solution of detecting all errors at compile-
time for a useful imperative language is impossible (it's called the halting 
problem), but we *can* catch some subset of all errors at compile-time, and 
the design of the language has great impact on on how large that subset can 
be.

  -- TTK




  reply	other threads:[~1998-10-19  4:00 UTC|newest]

Thread overview: 86+ 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       ` J.C.B.Sharp
1998-10-03  4:00       ` Mike Haertel
1998-10-03  4:00         ` Roger Ivie
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-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             ` 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
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                                         ` TTK Ciar [this message]
1998-10-20  4:00                                           ` Bill Gunshannon
1998-10-19  4:00                                         ` Megan
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                                     ` Peter da Silva
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-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             ` 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
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