473,770 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Downloadable standards file?

I previously had asked if there was an online standards file so I could
read that and answer my own questions without posting here and getting
flamed for not having done my homework.

I was pointed to a file called n1124.pdf which turns out to be a C99
standard. It appears that quoting from that standard makes a lot of
people say "but C99 isn't widely supported, so C90 is what you ought to do."

Is there a C90 file I can download for free and cross reference with my
C99 one?

I have seen the FAQ 11.2 that says it's available for purchase. Given
that the C99/N1124.PDF appeared to be free from
http://www.open-std.org/jtc1/sc22/wg...docs/n1124.pdf, I was hoping
that there was at least a "good enough" C90 one also for free.

(Aside: if the consensus is to reject the new standard, why should one
be created? Do the people who say to use C90 really think it's better to
lock C forever to that? If my compiler is C99, shouldn't I be encouraged
to conform to that standard?)
Dec 14 '06
53 2910
jacob navia said:

<snip>
Translation:

"Mr Navia doesn't agree with me. Since I can't accept that fact
Sure I can.
(who would DARE to disagree with me?)
Lots of people. They do it all the time. And sometimes they're right and I'm
wrong. When that is the case, I generally say so.
it is just that he doesn't UNDERSTAND portability"
Check Mr Navia's track record in this group, and it will become evident that
this is indeed the case.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Dec 16 '06 #31
Richard Heathfield wrote
(in article <jK************ *************** ***@bt.com>):
jacob navia said:

<snip>
>Excuse me but why I should care where YOUR code runs on?

No reason at all. That's the whole point of portability. It simply doesn't
matter where his code runs.
>If you do not want to use C99 it is your decision.

Quite so. Even if he had a C99-conforming compiler, which is doubtful, it
appears that he'd rather use something that stands a chance of porting to
other platforms.
>I accept
that but the current standard is not C90,

It's true that C90 is not the current de jure standard, but it remains the
current de facto standard for those who require portability.
You left out "... or for those that require a working
implementation conforming to a published standard for their
target platform(s)".
>and as such there is
no point in trying to move backwards all the language because
of a possible problem with your code.

Fine, so let's move the language forwards by getting some C99-conforming
implementations out there. There are way too few right now to make it a
viable standard.
Well, given that it'll soon be a decade later, and still people
will be searching for "C99" compilers (or have just given up by
then), what's the point? The incredibly small number of people
that actually have a deep an abiding need for a C99 compiler
must have found one by now, or written their own. The rest of
the C programming universe obviously doesn't care enough to
solve the problem. Some problems just don't need solving.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Dec 16 '06 #32
jacob navia wrote
(in article <45************ ***********@new s.orange.fr>):
Look, IBM says explicitely that they conform to the standard. Comeau
compiler under windows says explicitely it conforms.
Yippee. Yawn.
Of course you want a new standard that is implemented 100% everywhere.
Who said they wanted that? Hint: C99 isn't a "new standard".
Furthermore, it's nowhere /near/ being implemented 100%
everywhere. Laughable.
That can't be, so you will always find something.
What decade will it be available for 90% of the platforms out
there? 100 years after that answer is positive for C90
compilers?
The situation is much worse in C++, where there was in a recent
survey by Plauger almost no compiler fully conforms.
Almost no C++ programmer fully conforms to C++ either. :-)
Would you say then that programming in C++ is impossible?
Almost a "Yes", regardless of the survey data. *cough*
And if some compiler has a bug, or a non-implemented stuff, so
what?
Spoken like a true non-standard compiler developer. :P
(What is even more important than standards conformance)
Having a compiler that is even pretending to implement the
standard you wish to have conformance with in the first place
would be a good start.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Dec 16 '06 #33
Richard Heathfield wrote
(in article <MY************ *************** ***@bt.com>):
jacob navia said:
>Look, IBM says explicitely that they conform to the standard.

Compiler, yes. No libc.
[snip]
>Of course you want a new standard that is implemented 100% everywhere.

I'd want at least two of Borland, Microsoft and gcc to provide a conforming
compiler, together with at least one mainframe compiler (LE370 or similar)
and one Mac compiler.
You partially in luck, because gcc runs on Mac OS X. So,
if/when gcc gets there for Windows/dos/whatever, it'll get there
for the Mac. You also seem to be leaving out probably the
biggest set of C developers still in the wild, those writing
code for embedded environments, but of course most of them
probably have no use for c99 at all. Then again, neither do
most of the rest. :-)

Of course, as you mentioned above, you also need a libc to go
along with it.

--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Dec 16 '06 #34
Randy Howard a écrit :
jacob navia wrote
(in article <45************ ***********@new s.orange.fr>):

>>Look, IBM says explicitely that they conform to the standard. Comeau
compiler under windows says explicitely it conforms.


Yippee. Yawn.

>>Of course you want a new standard that is implemented 100% everywhere.


Who said they wanted that? Hint: C99 isn't a "new standard".
Furthermore, it's nowhere /near/ being implemented 100%
everywhere. Laughable.

>>That can't be, so you will always find something.


What decade will it be available for 90% of the platforms out
there? 100 years after that answer is positive for C90
compilers?

>>The situation is much worse in C++, where there was in a recent
survey by Plauger almost no compiler fully conforms.


Almost no C++ programmer fully conforms to C++ either. :-)

>>Would you say then that programming in C++ is impossible?


Almost a "Yes", regardless of the survey data. *cough*

>>And if some compiler has a bug, or a non-implemented stuff, so
what?


Spoken like a true non-standard compiler developer. :P

>>(What is even more important than standards conformance)


Having a compiler that is even pretending to implement the
standard you wish to have conformance with in the first place
would be a good start.

Who are you to give me lessons man?

Do *I* tell you what you have to do?

I have spend the last 5 years working in a C99 implementation
that I distribute at no charge. As you noticed elsewhere,
a full libc implementation is also needed, not to mention the
code generation part.

I am nowhere near 100% complicance but I have implemented most of this
standard. And I have done it without any big companies behind
me like gcc and Red-hat/IBM, that contribute to their quite big budget.

A completely new implementation of printf/the math library/ many strings
functions, etc etc.

Plese keep this in mind:

I am not part of any standards comitee, and I do not earn a penny more
if you use the current standard or you come back to 1989 or even
earlier...

Why not K&R C?

There are many embedded compilers producing code for yesteryear's
coffee machine that are still in K&R C, so use THAT...
Dec 16 '06 #35
jacob navia wrote
(in article <45************ **********@news .orange.fr>):
>>>(What is even more important than standards conformance)
>Having a compiler that is even pretending to implement the
standard you wish to have conformance with in the first place
would be a good start.

Who are you to give me lessons man?
I'm not trying to give you lessons. You asked a question, and I
answered it with my opinion.

You have historically shown a distinctively low absorption rate
for accurate information delivered from others anyway, so I
won't bother hoping for you to learn anything from me, or anyone
else for that matter.

As to the "who are you", I'll just say someone that has been
writing C programs, portable ones, on a whole lot more
compilers, platforms and CPU architectures than you've ever even
been in the same room with, since you were in diapers, if I had
my guess. Enough of that...
Do *I* tell you what you have to do?
No. But it's a stupid question, since I haven't told you what
you have to do. More importantly, I haven't told anyone here
what they have to do.
I have spend [sic] the last 5 years working in a C99 implementation
that I distribute at no charge. As you noticed elsewhere,
a full libc implementation is also needed, not to mention the
code generation part.
Good for you.
I am nowhere near 100% complicance [sic] but I have implemented most of this
standard.
So somewhere between "most" and "nowhere near 100%", whatever
that means.
And I have done it without any big companies behind me like gcc
and Red-hat/IBM, that contribute to their quite big budget.
I didn't realize gcc was a big company. I thought it was a C
compiler, and a pretty damn good one, particularly when invoked
with the correct command line arguments so that it doesn't
compile a variant language which I don't want to use.
Plese keep this in mind:

I am not part of any standards comitee [sic],and I do not earn a penny more
if you use the current standard or you come back to 1989 or even
earlier...
I don't give a popcorn fart whether you make any money or not.
That wasn't even remotely related to what you replied to. I
have no idea why it's even an issue.
Why not K&R C?
I have written a lot of K&R C in the past. Today, every
platform that I care about has a workable C89/90 compiler that
will compile code and generate the expected code for same.

Furthermore, that C standard provided a lot of very useful
features not available with K&R C, so it is worth taking
advantage of them.

If I had a reason to work on a platform for which no C89
implementation were available, I'm sure good old K&R C could fit
the need.

I can't even pretend to claim that all those platforms have C99
support. Not even a tiny subset of them. If otherwise, I might
feel differently, although the vast majority of the C99
extensions I wouldn't ever use even if ubiquitously available.

/NONE/ of the extensions you have put into your "navia-C"
non-standard compiler would ever be used in any of my code,
because they are present not only in a single compiler, but for
a single processor family and single operating system (minus a
few MS branding changes and service packs). In other words,
100% worthless for someone interested in portable code
development.
There are many embedded compilers producing code for yesteryear's
coffee machine that are still in K&R C, so use THAT...
So, I never told you what to do, but you pretended to be
offended that I did, and here you go, doing the same. Hypocrisy
noted.

Well guess what, I have quite a few compilers handy here for
various embedded controllers, and all of those I am interested
in have C89/90 support. NONE of them even pretend to be C99
compilers. In the embedded space, there is nothing even
remotely interesting about C99.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Dec 16 '06 #36
Randy Howard a écrit :
/NONE/ of the extensions you have put into your "navia-C"
non-standard compiler would ever be used in any of my code,
because they are present not only in a single compiler, but for
a single processor family and single operating system (minus a
few MS branding changes and service packs). In other words,
100% worthless for someone interested in portable code
development.
The version of lcc I am working with runs in Power-PC, linux,
windows, and several embedded processors. You just have no idea
and you just speak out your prejudices.

But surely my compiler is not for you anyway. Keep
away from it, and put me into your kill file.

OK?

Thanks in advance for uour understanding.
Dec 16 '06 #37
jacob navia wrote
(in article <45************ ***********@new s.orange.fr>):
Randy Howard a écrit :
>/NONE/ of the extensions you have put into your "navia-C"
non-standard compiler would ever be used in any of my code,
because they are present not only in a single compiler, but for
a single processor family and single operating system (minus a
few MS branding changes and service packs). In other words,
100% worthless for someone interested in portable code
development.

The version of lcc I am working with runs in Power-PC, linux,
windows, and several embedded processors. You just have no idea
and you just speak out your prejudices.
Do I need to list all the combinations that are important for
portable programming that your list does not include? No, what
would be the point?
But surely my compiler is not for you anyway.
Yes, I've tried it. I'm well aware of this fact.
Keep away from it, and put me into your kill file.
Who's telling who what to do again? Your repeated hypocrisy is
again noted.
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw

Dec 16 '06 #38
On Fri, 15 Dec 2006 21:17:08 +0100, in comp.lang.c , jacob navia
<ja***@jacob.re mcomp.frwrote:
>So What?

Is this group called:
comp.std.porta ble
???
Yet again, you display not only your contempt for the regulars here,
but also your incredible arrogance. I despair of you, its a real shame
to see someone so evidently intelligent throw away so much because of
a petty dispute.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Dec 16 '06 #39
On 15 Dec 2006 23:59:12 GMT, in comp.lang.c , ri*****@cogsci. ed.ac.uk
(Richard Tobin) wrote:
>In article <ln************ @nuthaus.mib.or g>,
Keith Thompson <ks***@mib.orgw rote:
>>C99 is currently the official standard *according to ISO rules*.

And C90 is no longer an ISO standard.

Since it's clearly still a standard, but not a de jure standard,
it must be a de facto standard.
mhm.
>Like, say, gcc...
False extrapolation. gcc is an implementation of a standardised
language.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Dec 16 '06 #40

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2070
by: Boniface Frederic | last post by:
Hello, I want to set some files downloadable only by members with login and password. I use session to protect my .html and .php files, but I would like to know how to protect .zip files. The .zip files are in a folder protected with a .htaccess file with the members data as password file. When a member is already connected and click on a download link, a connect
3
2214
by: JJ | last post by:
Hi, I am writing a cart in ASP selling downloadable files. The files are stored on remote locations i.e. http://www.thisfilestore.com/file1.zip And have different extensions, i.e. they are not all zip files. I would like to write a script which cann be called which will allow the download of the file, without giving away the url. Any Ideas/examples welcome!
9
2216
by: Xah Lee | last post by:
is the Microsoft javascript doc downloadable? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/js56jsoriJScript.asp or, is there some other downloadable complete javascript ref for offline reading? Xah xah@xahlee.org ∑ http://xahlee.org/
144
6952
by: Natt Serrasalmus | last post by:
After years of operating without any coding standards whatsoever, the company that I recently started working for has decided that it might be a good idea to have some. I'm involved in this initiative. Typically I find that coding standards are written by some guy in the company who has a way of coding that he likes and then tries to force everybody else to write code the way he likes it, not for any rational reason, but simply for the...
2
1312
by: TJS | last post by:
is there a downloadable chm help file for asp.net ?
3
1693
by: Hongbo | last post by:
Hi, We have a web site which needs user to login. After login, there are some files available for download on some pages. A typical link of such file is like this one: https://www.ourdomain.com/docs/contracts/c_02102006.pdf I noticed that any one could get this file if the person knows this link regardless if this person has logged in or not. Is there a way to prevent people who do not login to reach such downloadable files? Thank...
2
2042
by: gen_tricomi | last post by:
THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE I write here to make a request on behalf of all the programmers on earth who have been or are intending to use the Google web search API for either research purposes or for the development of real world applications, that Google make their indexes downloadable. Currently application programmers using the Google web search API are
4
1566
by: Jim Aikin | last post by:
I'd like to learn JavaScript while sitting in my easy chair with my laptop on my lap. Option 1: Buy a wireless router so I can access the plethora of online- only tutorials from anywhere in the house. Option 2: Buy a book and try to figure out how to read a book with one hand while using the laptop with the other. Option 3: Find a good downloadable tutorial (either PDF or a bundle of
0
10260
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.