News for hackers. Stuff that matters.
Re:Essential C [pdf] by unwind on Sunday March 06, 2022 @02:08PM (#30580154)
How is _Generic toxic?
Re:Essential C [pdf] by kevin_thibedeau on Sunday March 06, 2022 @02:14PM (#30580214)
It has some annoying misfeatures. Closely related types aren't treated as the same and you can't put multiple related types in a _Generic association list. You're forced to resort to explicit casts or call the type specific function directly which subverts the intended magic of using _Generic in the first place.
Re:Essential C [pdf] by eqvinox on Sunday March 06, 2022 @02:47PM (#30580546)
Some of this was fixed by DR 481 [http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2396.htm#dr...], can you give some specific cases/examples at issue?
Re:Essential C [pdf] by voldacar on Sunday March 06, 2022 @02:33PM (#30580405)
it's ugly and doesn't feel like a first class citizen of the language
Re:Essential C [pdf] by CyberDildonics on Sunday March 06, 2022 @05:16PM (#30581816)
This is a vague and emotional argument to a technical question.