News for hackers. Stuff that matters.
Re:C++23: Removing garbage collection support by skitter on Wednesday November 01, 2023 @12:49PM (#38101051)
It was in the spec but never implemented, so it's obly a feature of C++ if you take the stance that there are no real implementations of C++.
Re:C++23: Removing garbage collection support by TeMPOraL on Wednesday November 01, 2023 @12:55PM (#38101134)
If you want to go this way, then take a look at compiler support matrix for last few language versions - if having an implementation is necessary for something in spec to "be a feature of C++", then C++20 and C++23 are still missing some features they're supposed to have.
Re:C++23: Removing garbage collection support by pjmlp on Wednesday November 01, 2023 @01:26PM (#38101633)
Several features in ISO are yet to be fully implemented, there are compilers still catching up with C++17.

GC isn't the first one to victim of such lack of implementations, only EDG implemented C++98 external templates, for example.

Re:C++23: Removing garbage collection support by pbsd on Wednesday November 01, 2023 @02:46PM (#38102996)
extern templates are a C++11 feature. export templates are the removed C++98 feature.
Re:C++23: Removing garbage collection support by pjmlp on Wednesday November 01, 2023 @04:13PM (#38104359)
Thanks for the correction, I meant obviously export templates.
Re:C++23: Removing garbage collection support by moralestapia on Wednesday November 01, 2023 @12:55PM (#38101132)
IIRC it was present in Clang back at the time (which was relevant to us as we were using it); not sure about gcc or others.