Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #103707

Re: Is it legal to download K&R from this site ?

From Tim Prince <tprince@computer.org>
Newsgroups comp.lang.c
Subject Re: Is it legal to download K&R from this site ?
Date 2017-02-11 18:21 -0500
Message-ID <eg9kqpF8ijfU1@mid.individual.net> (permalink)
References (3 earlier) <o7els2$g00$1@dont-email.me> <5bd1fc96-6957-4008-9511-de22b9e18a9c@googlegroups.com> <5f4ef2ef-426e-265b-b0c3-c42d76dc5a7a@verizon.net> <b217aba5-95d6-4c48-be78-434e6327631e@googlegroups.com> <6d1ae3a3-bc91-b80b-8e2b-8cfb8611730b@verizon.net>

Show all headers | View raw


On 2/11/2017 1:36 PM, James R. Kuyper wrote:
> On 02/11/2017 01:02 PM, void wrote:
>> On Saturday, February 11, 2017 at 4:18:14 PM UTC+1, James R. Kuyper
>> wrote:
> ...
>>> C99 has been amended by three technical corrigenda, each of which
>>> specified the changes to be made to C99. However, it has never been
>>> officially released with those changes made. n1256.pdf is an unofficial
>>> (but still ISO) draft of what C99 would look like with those changes,
>>> making it paradoxically more useful than any official version of C99. It
>>> contains only one known error relative to it's official base documents,
>>> and is absolutely free. How could K&R be cheaper than that?
>>>
>>> n1570.pdf is almost identical to the final C2011 standard, having only
>>> one known error, and is also available for free.
>>>
>>
>> Drafts can give C programmers a quick view on new features but these
>> documents are incomplete descriptions of future standards. Of course,
> 
> I don't think you properly understand exactly what n1256.pdf and
> n1570.pdf are. They contain almost exactly the same text as the actual
> standard, formatted almost exactly as it is in the actual standard.
> C2011 may have been a "future standard" at the time n1570.pdf was
> produced, but it is no longer a "future standard". At the time n1256.pdf
> was created, C99+TC1+TC2+TC3 was already the current standard. n1256.pdf
> differs from the final version of C99 only by reason of incorporating
> the changes specified in TC1, TC2, and TC3. Those changes were
> officially approved, but a version of the standard with those changes
> actually implemented has never been officially approved, and my
> understanding is that there never will be such a version. So n1256.pdf
> is not, in any sense, a description of any "future standard".
> 
> ...
>> C99 may be almost completely implemented by popular compilers but
>> thatdoesn't mean that C99 features are required by all C programmers.
> 
> I wasn't talking about C99 features being required. There are clumsy
> workarounds for dealing with most of the situations where C99 features
> are more convenient than C90. I'm saying that for most of those
> features, compilers that support those features are sufficiently widely
> available that it is not justifiable to avoid using those features for
> the sake of portability (avoiding a feature because you just don't like
> it is a different matter entirely).
> If there's any C99 feature that you like, you should feel free to use it
> without worrying about the possibility that your code might need to be
> ported to a platform for which there is no compiler that implements that
> feature. Only worry about such issues if and when they come up. And if
> they do come up, consider the possibility of delaying the port until
> after you've successfully pressured someone to actually implement the
> feature for that platform.
> 
>> Actually I prefer to comply to C90 most of the time or C95 for i18n
>> support and C99 for big integers. Actually, writing C90 code doesn't
>> prevent you from using C99 compilers. ;-)
> 
> I said nothing to suggest that it did; but it is in fact the case that
> some code that was correct according to C90 is no longer correct
> according to the latest version of the standard. This includes any code
> that relies upon implicit int, uses gets(), or uses an identifier that
> matches one of the newer keywords. However, I will concede that most
> code which avoids those pitfalls should compile just fine under C99.
> 
I'm still reluctant to use MSVC as a C compiler, even though VS2015
accepts a majority of the C99 features I use, and performs competitively
on a majority of my code.  I've not seen any documentation of the VS2015
subset of C99.  Not knowing the intended limitations detracts from its
usefulness as a C compiler.  So does the limitation to OpenMP 2.0, but
this comment will get me ostracized from usenet.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is it legal to download K&R from this site ? MehdiAmini <atorrses@gmail.com> - 2017-02-07 14:09 +0330
  Re: Is it legal to download K&R from this site ? David Brown <david.brown@hesbynett.no> - 2017-02-07 12:17 +0100
    Re: Is it legal to download K&R from this site ? MehdiAmini <atorrses@gmail.com> - 2017-02-07 19:44 +0330
      Re: Is it legal to download K&R from this site ? David Brown <david.brown@hesbynett.no> - 2017-02-08 09:47 +0100
        Re: Is it legal to download K&R from this site ? void <nathan.gothier@gmail.com> - 2017-02-11 04:25 -0800
          Re: Is it legal to download K&R from this site ? "James R. Kuyper" <jameskuyper@verizon.net> - 2017-02-11 10:18 -0500
            Re: Is it legal to download K&R from this site ? void <nathan.gothier@gmail.com> - 2017-02-11 10:02 -0800
              Re: Is it legal to download K&R from this site ? Keith Thompson <kst-u@mib.org> - 2017-02-11 10:32 -0800
                Re: Is it legal to download K&R from this site ? void <nathan.gothier@gmail.com> - 2017-02-11 11:17 -0800
                Re: Is it legal to download K&R from this site ? Keith Thompson <kst-u@mib.org> - 2017-02-11 11:46 -0800
                Re: Is it legal to download K&R from this site ? void <nathan.gothier@gmail.com> - 2017-02-11 12:25 -0800
                Re: Is it legal to download K&R from this site ? Keith Thompson <kst-u@mib.org> - 2017-02-11 13:29 -0800
                Re: Is it legal to download K&R from this site ? Melzzzzz <Melzzzzz@zzzzz.com> - 2017-02-11 22:59 +0000
                Re: Is it legal to download K&R from this site ? Tim Prince <tprince@computer.org> - 2017-02-11 18:14 -0500
                Re: Is it legal to download K&R from this site ? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-02-12 04:08 +0100
                Re: Is it legal to download K&R from this site ? Flippie Flink <flip@flink.not> - 2017-02-11 23:44 +0100
              Re: Is it legal to download K&R from this site ? "James R. Kuyper" <jameskuyper@verizon.net> - 2017-02-11 13:36 -0500
                Re: Is it legal to download K&R from this site ? Tim Prince <tprince@computer.org> - 2017-02-11 18:21 -0500
              Re: Is it legal to download K&R from this site ? David Brown <david.brown@hesbynett.no> - 2017-02-13 13:56 +0100
                Re: Is it legal to download K&R from this site ? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-02-13 14:06 +0100
                Re: Is it legal to download K&R from this site ? David Brown <david.brown@hesbynett.no> - 2017-02-13 15:05 +0100
                Re: Is it legal to download K&R from this site ? "James R. Kuyper" <jameskuyper@verizon.net> - 2017-02-13 10:38 -0500
            Re: Is it legal to download K&R from this site ? Robert Wessel <robertwessel2@yahoo.com> - 2017-02-12 01:38 -0600
              Re: Is it legal to download K&R from this site ? "James R. Kuyper" <jameskuyper@verizon.net> - 2017-02-12 09:47 -0500
            Re: Is it legal to download K&R from this site ? supercat@casperkitty.com - 2017-02-12 14:15 -0800
            Re: Is it legal to download K&R from this site ? raltbos@xs4all.nl (Richard Bos) - 2017-02-14 12:25 +0000
              Re: Is it legal to download K&R from this site ? James Kuyper <jameskuyper@verizon.net> - 2017-02-14 11:55 -0500
                Re: Is it legal to download K&R from this site ? Keith Thompson <kst-u@mib.org> - 2017-02-14 09:30 -0800
              Re: Is it legal to download K&R from this site ? Keith Thompson <kst-u@mib.org> - 2017-02-14 09:06 -0800
                Re: Is it legal to download K&R from this site ? raltbos@xs4all.nl (Richard Bos) - 2017-02-15 21:04 +0000
          Re: Is it legal to download K&R from this site ? Keith Thompson <kst-u@mib.org> - 2017-02-11 08:58 -0800
          Re: Is it legal to download K&R from this site ? raltbos@xs4all.nl (Richard Bos) - 2017-02-14 12:23 +0000
            Re: Is it legal to download K&R from this site ? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-02-14 14:08 +0100
          Re: Is it legal to download K&R from this site ? Robert Latest <boblatest@yahoo.com> - 2017-02-19 11:13 +0000
            Re: Is it legal to download K&R from this site ? Keith Thompson <kst-u@mib.org> - 2017-02-19 07:36 -0800
              Re: Is it legal to download K&R from this site ? Tim Rentsch <txr@alumni.caltech.edu> - 2017-02-19 10:18 -0800
      Re: Is it legal to download K&R from this site ? Tim Rentsch <txr@alumni.caltech.edu> - 2017-02-09 08:15 -0800
  Re: Is it legal to download K&R from this site ? Keith Thompson <kst-u@mib.org> - 2017-02-07 08:35 -0800
  Re: Is it legal to download K&R from this site ? Real Troll <real.troll@trolls.com> - 2017-02-12 00:01 -0400
    Re: Is it legal to download K&R from this site ? MehdiAmini <atorrses@gmail.com> - 2017-02-12 08:32 +0330
      Re: Is it legal to download K&R from this site ? Real Troll <real.troll@trolls.com> - 2017-02-12 01:55 -0400
      Re: Is it legal to download K&R from this site ? "James R. Kuyper" <jameskuyper@verizon.net> - 2017-02-12 09:50 -0500
        Re: Is it legal to download K&R from this site ? Real Troll <real.troll@trolls.com> - 2017-02-12 14:45 -0400
  Re: Is it legal to download K&R from this site ? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-02-14 09:33 -0800

csiph-web