473,763 Members | 9,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why the C committee doesn't provide an implementation when the standard is published?

Why the C standard committee doesn't provide a standard implementation
including the C compiler and library when the language standard
document is published?

C works on the abstract model of low level machine. C stands for
portability and platform and machine independent. If the C compiler and
C standard library are written in C itself, is it possible that one
"standard" C compiler plus library is enough? The standard
implementation is published by the international standard committee. Is
it to hurried for the committee to do it? Does the committee take no
responsibility for publishing a standard implementation when release
the paper language document?

The standard implementation will never stop various non-standard
implementations from being produced by individual person or
organization. If all the programmers can have the standard
implementation as soon as the language standard is released, then all
programs can be written following the standard freely and strictly.
--
lovecreatesbeau ty

Jun 9 '06 #1
52 3787
lovecreatesbeau ty wrote:
Why the C standard committee doesn't provide a standard implementation
including the C compiler and library when the language standard
document is published?
Because it's not their job?
C works on the abstract model of low level machine. C stands for
portability and platform and machine independent. If the C compiler and
C standard library are written in C itself, is it possible that one
"standard" C compiler plus library is enough? The standard
implementation is published by the international standard committee. Is
it to hurried for the committee to do it? Does the committee take no
responsibility for publishing a standard implementation when release
the paper language document?

Some standard library functions can't be implemented in C, or at least
can't be optimally implemented in C.

It might be fun to define the standard library as a set of unit tests.

--
Ian Collins.
Jun 9 '06 #2
>Why the C standard committee doesn't provide a standard implementation
including the C compiler and library when the language standard
document is published?
To run under what, the "Standard OS" on the "Standard Hardware"?
It isn't the job of a standards committee to produce an implementation.
C works on the abstract model of low level machine. C stands for
portability and platform and machine independent.
But an *implementation * is not going to be platform and machine
independent.
If the C compiler and
C standard library are written in C itself, is it possible that one
"standard" C compiler plus library is enough?
No, if it's expected to produce native machine code.
The standard
implementati on is published by the international standard committee. Is
it to hurried for the committee to do it? Does the committee take no
responsibili ty for publishing a standard implementation when release
the paper language document?
No. Do the people who write building codes build buildings?
The standard implementation will never stop various non-standard
implementation s from being produced by individual person or
organization . If all the programmers can have the standard
implementati on as soon as the language standard is released, then all
programs can be written following the standard freely and strictly.


One of the potential problems of a "standard implementation" would
be that an extension (or incomplete error checking) in the "standard
implementation" would tend to become a de facto "standard extension"
when that may not have been intended by the standards committee.
The standard, not a "standard implementation" defines the language.

Gordon L. Burditt
Jun 9 '06 #3
Gordon Burditt wrote:
The standard
implementati on is published by the international standard committee. Is
it to hurried for the committee to do it? Does the committee take no
responsibili ty for publishing a standard implementation when release
the paper language document?

No. Do the people who write building codes build buildings?


It is the fact for C language that the standard committee published
100% standard compliant paper document. 10 years later, there is no
100% standard compliant compiler. Is it / standard not important? If
not, why the standard committee is very important and people need it?

Jun 9 '06 #4
lovecreatesbeau ty said:
Gordon Burditt wrote:
>The standard
>implementati on is published by the international standard committee. Is
>it to hurried for the committee to do it? Does the committee take no
>responsibili ty for publishing a standard implementation when release
>the paper language document? No. Do the people who write building codes build buildings?


It is the fact for C language that the standard committee published
100% standard compliant paper document. 10 years later, there is no
100% standard compliant compiler.


C99, yes. Please note, however, that C89 was a very different matter.
Vendors were rushing to conform to it, and most had conforming compilers
even before the ink was dry, because they'd been following the
standardisation process very closely. C89 mattered - and still matters.
Is it / standard not important?
C89 is vital. But C99? No, not really. Otherwise, we'd have more conforming
implementations by now.
If
not, why the standard committee is very important and people need it?


That's an excellent question. Perhaps someone from the committee would like
to answer it.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Jun 9 '06 #5
Richard Heathfield <in*****@invali d.invalid> writes:
lovecreatesbeau ty said:

[...]
Is it / standard not important?


C89 is vital. But C99? No, not really. Otherwise, we'd have more conforming
implementations by now.


C89 (or C90) caught on as quickly as it did because there was a great
demand for a standard. When C99 was issued, there was already a
standard that worked well, so there was less demand for a new one.
But there are a *few* implementations that conform to C99, and more
that implement parts of C99.

If nothing else, the C99 standard provides a direction for development
beyond C90. For example, a C compiler vendor wants to implement
complex numbers will almost certainly do so using the syntax defined
by the C99 standard, rather than inventing something else.
--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Jun 9 '06 #6
In article <f7************ ********@bt.com >, Richard Heathfield
<in*****@invali d.invalid> writes
lovecreatesbea uty said:
Gordon Burditt wrote:
>The standard
>implementati on is published by the international standard committee. Is
>it to hurried for the committee to do it? Does the committee take no
>responsibili ty for publishing a standard implementation when release
>the paper language document?
No. Do the people who write building codes build buildings?


It is the fact for C language that the standard committee published
100% standard compliant paper document. 10 years later, there is no
100% standard compliant compiler.


C99, yes. Please note, however, that C89 was a very different matter.
Vendors were rushing to conform to it, and most had conforming compilers
even before the ink was dry, because they'd been following the
standardisatio n process very closely. C89 mattered - and still matters.


Actually ISO C90+A1 and the TC's..ie C95/6 This is where most compilers
are. Generally they have taken a few items from C99 but not many.
Is it / standard not important?


C89 is vital. But C99? No, not really. Otherwise, we'd have more conforming
implementation s by now.

I agree.
If
not, why the standard committee is very important and people need it?


That's an excellent question. Perhaps someone from the committee would like
to answer it.


AFAIK C99 was a "committee designed animal". Ie the Camel is a horse
designed by a committee :-)

Several high profile committee members have said they wished certain
areas had not been included and that C99 has "lost it's way". The
evidence is that the main compiler vendors have not implemented it.

You have the problem that on the desktop most(?) users use MS compilers.
MS have stopped doing C and do C++.

BTW There is no such language as C/C++. C++ was developed from C90 and
diverged one way whilst C went a different way 95 and C99. So C written
in a C++ compiler is not C.

Most(?) desktop users of C actually use a [MS]C++ compiler and MS has
taken this off on their own direction added to which there is a lot of
use of Java, C# etc and other languages. So there is a lot less interest
in the desktop community to chase the ISO C99 standard that there used
to be when the industry wanted a common specification for the language
and C++ had not arrived.

The embedded community, probably the largest C community there is, is
sticking with C90/5 and not following C99. Most of the embedded world
still use 8 and 16 bit MCU's and most of the embedded standards relate
to C90 anyway.

GNU follows it's own path, though is does have a C90 mode and I think
they are "working towards" C99, but slowly.

In short no one really needed the new features of C99. Some it is
claimed are broken anyway. The maths model for example.

The UK C panel has got a bad reputation over the last few years for
saying "NO!" to adding anything to C99 before fixing some of the major
problems in the standard. In fact there was a suggestion that we Should
go back to C95 and start again! However this has been ignored.

So in my view (and others on the panel but I will let them speak for
themselves) There is a LOT of DR (defect report) work to be done on C99
before we add anything new to C99.

However other panels want to add lots of new things. "Building on
quicksand" as one C panel member said to me. So in my view C99 will
continue to wander off into the wilderness.

ECMA is doing it's own thing with C++ and you are likely to find that
the ISO C++ also goes off into the wilderness in the next few years just
like ISO BASIC.

Somewhere along the line ISO C and C++ have lost their way and I am not
sure how to get them back.
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys. org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Jun 9 '06 #7
Chris Hills wrote:
AFAIK C99 was a "committee designed animal". Ie the Camel is a horse
designed by a committee :-)


Notice that the oft-quoted line about the horse designed by a committee
is a poor substitute for a real argument. In particular, notice that the
most successful translation of the Bible ever, the Authorized / King
James Version, is the quintessential committee-designed translation.
Jun 9 '06 #8
In article <ln************ @nuthaus.mib.or g>, Keith Thompson <kst-
u@mib.org> writes
Richard Heathfield <in*****@invali d.invalid> writes:
lovecreatesbeau ty said:[...]
Is it / standard not important?


C89 is vital. But C99? No, not really. Otherwise, we'd have more conforming
implementations by now.


C89 (or C90) caught on as quickly as it did because there was a great
demand for a standard.


Yes
When C99 was issued, there was already a
standard that worked well, so there was less demand for a new one.
True. also there was NO demand by the majority for a lot of the features
that were added.
But there are a *few* implementations that conform to C99,
I think 50% (ie three of them) were for political reasons only.
and more
that implement parts of C99.
I think "everyone" has implemented a few bits of C99. Though they have
ignored a LOT more than they have implemented.
If nothing else, the C99 standard provides a direction for development
beyond C90.
Not really.
For example, a C compiler vendor wants to implement
complex numbers will almost certainly do so using the syntax defined
by the C99 standard, rather than inventing something else.


Maybe. Maybe not. There are some features of the C standard that are
broken anyway. No one is really going to implement these or use them as
a base.

Several ISO C panel members have called for going back to C95 and
starting again.
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ ch***@phaedsys. org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Jun 9 '06 #9
jjf

lovecreatesbeau ty wrote:
Gordon Burditt wrote:
The standard
implementati on is published by the international standard committee. Is
it to hurried for the committee to do it? Does the committee take no
responsibili ty for publishing a standard implementation when release
the paper language document? No. Do the people who write building codes build buildings?


It is the fact for C language that the standard committee published
100% standard compliant paper document. 10 years later, there is no
100% standard compliant compiler.


Nonsense. There are many C compilers which are 100% compliant to the C
Standards from 1996 and earlier.
Is it / standard not important?
It is important.
If not, why the standard committee is very important and people need it?


Jun 9 '06 #10

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

Similar topics

29
2407
by: David Eng | last post by:
In replying to P.J. Plauger ( http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&threadm=1089204435.746211%40master.nyc.kbcfp.com&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dcomp.lang.c%252B%252B.moderated ) who responded my post in comp.long.c++ moderated neww group regarding "C++ standard and C++/CLI" topic, I worte the following post which was sensor by comp.lang.c++.moderated: ...
0
9564
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10002
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...
0
9823
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
8822
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...
1
7368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5270
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...
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.