5 ms·
This is at most tangentially related, but I could never figure out how to submit proposals for the C standard. How does this work?
by rdpintqogeogsaa 5y ago
This is at most tangentially related, but I could never figure out how to submit proposals for the C standard. How does this work?
- enriquto 5y agoIn the olden days, the idea was that you did not start by submitting any proposal. First you got your pet language feature implemented (as a non-standard extension) in several major compilers and used in several meaningful code bases. And then you submitted that feature, which was already well understood and under widespread use, to the C standard committee, which would very likely accept it. Nowadays it seems that any old doofus can "propose" things. Fortunately most of these proposals are not taken too seriously, since the language keeps saying no to nearly all of them. The discussion is interesting though. My pet language extension to C would be closures (local functions that you can return pointers to, thus allocating memory for their local variables); I've seen several proposals for them come and go, without much success.
- matheusmoreira 5y agoGCC has many really good extensions to the C language. Why have they not been adopted? Has nobody submitted them as proposals?
- enriquto 5y agoSure. I'd say that most changes in the C language since 1989 have been first adopted by gcc as extensions, way before they were officially approved.
- rgovostes 5y ago> My pet language extension to C would be closures Is this not what Blocks are? They are common on Apple platforms. https://en.wikipedia.org/wiki/Blocks_(C_language_extension) https://en.wikipedia.org/wiki/Blocks_(C_language_extension)
- dcminter 5y agoPartial answer I guess? http://www.open-std.org/JTC1/SC22/WG14/www/contributing http://www.open-std.org/JTC1/SC22/WG14/www/contributing