by lioeters · 1y ago · 0 comments
> the functions `recip` and `recip⁺` and not equivalent
Several paragraphs after this got swallowed by the code block.
Edit: Oh, I didn't realize the article is by the author of the book, Modern C. I've seen it recommended in many places.
> The C23 edition of Modern C is now available for free download from https://hal.inria.fr/hal-02383654
This seems to have been fixed now.
The C23 edition of Modern C - https://news.ycombinator.com/item?id=41850017
Like this comment:
> Wow, the use of attributes like [[__unsequenced__]], [[maybe_unused]] and [[noreturn]] throughout the book is really awful. It seems pretty pedantic of the author to litter all the code examples with something that is mostly optional.
Or this one:
> Personally this just makes C much more complicated for me, and I choose C when I want simplicity. If I want complicated, I would just pick C++ which I typically would never want.
Examples of what people consider "bloat" in newer C standards:
_BitInt(N), guard, defer, auto, constexpr, nullptr
_generic, typeof, restrict, syntax based tlsEdit: oh, you actually did quote me, too: https://news.ycombinator.com/item?id=41854897
In any case, thank you.