P
Paul Hsieh
jacob said:Charlton Wilbur wrote: [...]But this brings me right back to the original question. Why is it so
important that this new improved language be called C, and why is it
so important that it have ANSI/ISO's imprimatur? We've seen, in the
case of things like C99, that the imprimatur is insufficient to get
people to use the thing, and we've seen, in the case of things like
BSD sockets, that usefulness does not require official imprimatur to
proliferate.And I did not wait for people in ANSI to build lcc-win.So What?
So why do you insist on discussing lcc-win's non-ISO extensions here in
comp.lang.c?
I do not speak for Jacob Navia, but this is just utter nonsense. Do
you mean why does Jacob Navia not conform to the mindless consensus?
Why don't you guys make a charter and see if its gets some kind of
official stamp of approval by someone? Why don't you guys go and make
your own group and call it comp.lang.c.accordingtothestandardalone or
comp.lang.c.majorityrules? In short, go fly a kite.
(And why do you continue to refer to ANSI, the American National
Standards Institute, rather to ISO, the organization that issued the C
standard? I've asked you this before.)
Probably because he's not pedantic. You know sometimes I say Linux,
when I know I should be saying Gnu/Linux. But I have toe jam that
needs attending to.
Garbage collection breaks legal C programs. It can even break strictly
conforming C programs.
You mean if its *enabled* it breaks legal C programs. So do many of
the changes in C99. What's your point?
[...] Any program that stores a pointer value in a
place or format where the garbage collector can't recognize it as a
pointer will potentially be broken by GC.
Yes and programs that aliased pointers of two different types and
relied on compilers being conservative and not assuming they don't
overlap are potentially broken as well (by C99). Did you object as
loudly when that happened?
Perhaps such programs are rare, but you persist in ignoring them, even
when the issue is repeatedly pointed out to you.
I haven't followed JN's GC proposal too closely, but if he had a way
of turning it off (which I would highly recommend) then I don't see
the issue.
The Boehm GC library makes it abundantly clear that its practical,
possible, and desirable (for at least some applications) to have GC in
the C language. Perhaps the real question is, why are you fighting so
hard against it, instead of trying to find a good way of accommodating
it?
If GC were to be added to the language, the standard would have to
state that certain programs whose behavior is currently well defined
becomes undefined in the presence of GC.
That standard does have language that points this out today about each
successive iteration of the standard already. So what would be new?
I'm not stating an opinion on whether GC *should* be added to standard
C, just pointing out that it cannot be done with no changes at all to
the language.
If he continues to support free() then I don't understand why your
issue isn't instead just a demand for the ability (or perhaps default)
of being able to turn GC off.