Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by maccard on Monday May 15, 2023 @04:00PM
(#35953689)
I'm a c++ programmer and finding it hard to be excited about things we added to the language 12 years ago.
[ Parent
| on HN ]
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by quesomaster9000 on Monday May 15, 2023 @04:05PM
(#35953747)
As a D programmer, why haven't you caught up yet?
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by maccard on Monday May 15, 2023 @04:11PM
(#35953825)
I write a reasonable amount of kotlin these days and it's night and day.
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by ishvanl on Monday May 15, 2023 @06:32PM
(#35955415)
As a rust programmer... etc etc.
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by loeg on Monday May 15, 2023 @05:22PM
(#35954650)
As a sneering C++ programmer, why are you even reading / commenting on a new C standard? This is basically a "if you don't have anything nice to say, don't say it" situation.
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by tom_ on Monday May 15, 2023 @06:15PM
(#35955243)
The same goes for C programmers with a chip on their shoulder!
There is a downvote button.
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by maccard on Tuesday May 16, 2023 @03:43AM
(#35958772)
Honestly, because there's very little c++ content here on HN and a relatively large amount of C content. Most of the C content is full of people saying "we don't need X from C++" but the reality is most of these things have significant uses
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by loeg on Tuesday May 16, 2023 @11:19AM
(#35963032)
Neither of those statements really matches my experience with HN (high C to C++ content ratio, lots of comments rejecting advances first added to C++). I totally agree some of these things are very useful and I'm glad to see them formalized in C (even years later than C++).
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by paulddraper on Tuesday May 16, 2023 @12:02AM
(#35957623)
I wouldn't speak too loudly on that high horse.
The HN Rust Gang will find you.
Re:GCC 13 Supports New C2x Features, Including Nullptr, Enha...
by maccard on Tuesday May 16, 2023 @03:48AM
(#35958796)
They're too busy looking for their vowels to reply here.
Joking aside, I've a healthy amount of respect for rust, and I hope that many of the ideas make their way into other language. The terseness, heavy use of macros, _insane_ compile times (and that's coming from someone who writes templates in c++), general assumption that you're on Linux from third party crates, and IDE support combine for something that just isn't usable for me just yet. Maybe in a few years!