Liste des Groupes | Revenir à cl c |
"David Brown" <david.brown@hesbynett.no> wrote in messageThen why do think that something might depend on someone's "definition of C" ? The definition of C is clear - it is what the international standard says it is. You can have other C-like languages, but they are not C.
news:100hs85$27qbn$1@dont-email.me...On 20/05/2025 11:36, Paul Edwards wrote:made"Keith Thompson" <Keith.S.Thompson+u@gmail.com> wrote in message>
news:87ecwj1vy9.fsf@nosuchdomain.example.com..."Paul Edwards" <mutazilah@gmail.com> writes:
>And C90 (etc) could potentially be extended to include a folder.h>
C90 will never be extended. It was made obsolete by C99, which wasYes, I agree with that.>obsolete by C11, which was made obsolete by C23. You're free to invent>
your own language based on C90 if you like, but C went in a different
direction decades ago.
That depends on your definition of "C". Ritchie is no longer here to
adjudicate whether something close to C90 - in the spirit of the
original C, is the true successor to his language, and which one is
a complete and utter joke of no relation to anything he designed.
>
Once C was standardised - first by ANSI, then immediately afterwards by
ISO - the "definition of C" became clear.
You don't get to have an opinion on facts. What I said is /fact/ - you can look at what it says in each new version of the C standards. This is also normal practice for ISO standards.The language is covered by anI don't agree with this.
international standard, so "C" is the language defined by that standard.
Thus "C" means "C23" at the moment - each newly published C standard
"cancels and replaces" the previous version.
I'm sure the ISO committee is keenAgain, you don't get to have an opinion on what the ISO committees practices are - you only get to have an opinion on whether or not you like them. It is good to be clear on that difference.
to "cancel" the previous work.
But I have a different opinion.
I doubt that I am alone. I'm probably in a minority, but so what?
They were justified in thinking that "Richie himself endorsed the standard" is a totally irrelevant argument. They would be wrong if they said he had "become deranged".Ritchie's opinion hasn'tWell, in the 1990s I had some work colleagues who were
had any connection to the "definition of C" since 1989. I don't know if
he ever expressed a public opinion on C99, or the plans for C11. I
would, however, be astounded if he had considered it "a complete and
utter joke of no relation to anything he designed".
incensed that I had converted some K&R C code to C90,
and called it "nancy C". I pointed out that Ritchie himself
had endorsed the standard, and they still didn't budge,
saying that he had become deranged or something like that.
From another corner I still deal with people who insistSome things /are/ better written in assembler. Not many things, but some things.
that everything should be written in assembler.
And in another corner, there are people who claim that INow you are stretching credulity.
am at fault for not making "my" compiler (a slight variation
of gcc 3.2.3) run in under 16 MiB of memory.
I understand where these people are coming from.Few people click on random links. If you have something to say, say it.
And I can see the alternative described by that Jeff article
I referenced.
But my starting position is that I (sort of) can't personallyYou can ask him anything you like - just don't be surprised if he does not answer.
fault the C90 standard, and the assembler code produced
by a typical C compiler is exemplary, and that this is the
basis for the lingua franca of programming.
(And while I don't think that an "appeal to authority" argument has muchI'm not asking him to approve my OS ideas. I'm asking him
merit, he did say that he found Linux "quite delightful" as a
continuation of UNIX, and I would not expect him to have viewed your OS
ideas as productive.)
to explain what is wrong with the C90 that he approved of,
and whether my mentioned extensions are reasonable.
You suggested "extending C90" with the inclusion of your new functions. That's the definition of "extension to C90" I am using.But Keith is absolutely correct here. C90 is C90, and will remain thatYou seem to have a different definition of "extension to C90" to me, then.
way (baring the very unlikely possibility of minor technical corrections).
>
You can make your own libraries, and OS's, and extensions, and languages
- whatever makes you happy. (And if you enjoy what you are doing, and
it's not harming anyone, then that's all the reason you need. You don't
need approval from anyone else. Don't let me or anyone else hinder you
enjoying yourself.) However, nothing that you ever do will be an
extension to C90.
Which is also fine.You don't lack ambition!
Regardless, I intend to compete with the ISO committee, and
not so much start from scratch, as start from C90.
My branch may not appeal to a majority, but I'm not particularlyI have no problem with giving technical advice (if I have any that I think will be useful - I work with a significantly different type of programming, however). But I think you'd get on a lot better if you said you were trying to write a C90 library of functions for directory access, and dropped the bizarre doomsday philosophy. Choose C90 for maximal portability, or personal preference - that's fine. Trying to convince other people that C90 is somehow "perfect" while C99 is a "complete and utter joke" is not going to get you much technical help. Telling us that you are doing all this to be "apocalypse-ready" simply brands you as a delusional nutcase. And while I think delusional nutcases (as long as they are non-violent) have as much right to get technical answers as the next person, it really does distract from the C-related questions you have.
trying to appeal to a majority. I'm interested in appealing to the
people who I work with (e.g. author of pdld). And I'm also
interested in technical guidance from the majority who likely
have more technical skills than me, regardless of whether they
agree with my approach/goals or not (spoiler: they don't).
Les messages affichés proviennent d'usenet.