News for hackers. Stuff that matters.
Re:Why Aren't There C Conferences? by ddevault on Wednesday November 21, 2018 @01:58PM (#18505056)
I strongly disagree. C should is adding langauge features at a pace other languages could stand to emulate. C is stable, trusted, and supported everywhere for this very reason. Codebases should not be using extensions, and Linux is wrong to do so.
Re:Why Aren't There C Conferences? by news_to_me on Wednesday November 21, 2018 @02:10PM (#18505161)
> Codebases should not be using extensions, and Linux is wrong to do so.

Poppycock. Codebases should use any and all tools available to them to accomplish their goals, given the tradeoffs. Using non-standard language extensions is a tradeoff, and if it suits the Linux community and their goals, there's nothing wrong with that.

Re:Why Aren't There C Conferences? by ddingus on Wednesday November 21, 2018 @02:20PM (#18505236)
That is one way non-standard extensions become standard.
Re:Why Aren't There C Conferences? by stochastic_monk on Wednesday November 21, 2018 @02:43PM (#18505401)
For example, the [[maybe_unused]] and similar annotations in C++17 grew out of gcc builtins.
Re:Why Aren't There C Conferences? by saagarjha on Wednesday November 21, 2018 @04:09PM (#18506132)
Of course, C++ is much more aggressive in stealing popular features from the community, especially Boost.
Re:Why Aren't There C Conferences? by bstamour on Wednesday November 21, 2018 @04:48PM (#18506381)
Boost came about from a few members of the ISO C++ committee as a way to iterate on library features. It would be a shame if none of that work made it's way back into the standard.
Re:Why Aren't There C Conferences? by jcelerier on Wednesday November 21, 2018 @05:23PM (#18506588)
Boost was created as a place to beta-test future C++ features. Its whole point is to move stuff from boost:: to std::
Re:Why Aren't There C Conferences? by Conan_Kudo on Wednesday November 21, 2018 @04:05PM (#18506097)
The problem with not allowing language extensions to be used is that it promotes the staleness of the language.

Just as human languages evolve as people use and adjust it, programming languages evolve as people start trying to change it to better suit their needs.

The difference with human languages and programming ones is that there's a relatively easy process to get everyone in sync on how it changes for programming languages. :)

I also agree with the grandparent comment that more features should be specified and incorporated into the C standard. The fact they exist and are in wide use says a lot all by itself.

Re:Why Aren't There C Conferences? by fiddlerwoaroof on Wednesday November 21, 2018 @05:06PM (#18506491)
This is the fundamental problem with languages that don’t have a good story for user-written compiler extensions: either they don’t adapt to new use cases or the standard gets horribly bloated or else, like Haskell, one implementation becomes the de facto standard.
Re:Why Aren't There C Conferences? by VHRanger on Wednesday November 21, 2018 @04:54PM (#18506422)
C is used more as an API than a language.
Re:Why Aren't There C Conferences? by ndesaulniers on Wednesday November 21, 2018 @02:10PM (#18505166)
> C should is adding langauge features at a pace other languages could stand to emulate.

Remember the Vasa! ;)

> C is stable, trusted, and supported everywhere for this very reason.

See the sibling comment about C not being fully supported everywhere. As long as people continue to make proprietary compilers, there will be implementation deficiencies. That's orthogonal to the language itself.

> Codebases should not be using extensions,

Agree and disagree. Maybe "codebases should only use extensions when it's feasible to provide fallbacks" or something.

> and Linux is wrong to do so.

I'm not sure I agree. There are some worthwhile extensions IMO, which is why I made the point earlier that I think it's time to standardize them.

Re:Why Aren't There C Conferences? by module0000 on Wednesday November 21, 2018 @02:46PM (#18505433)
>> Codebases should not be using extensions, and Linux is wrong to do so.

Why? If you can improve the performance/security/stability of Linux by re-writing functionality without extensions, by all means do so(and send in a patch). Why is Linux "wrong" for this?