5 ms·
I would probably agree with those scientists, this seems like a “well actually” kind of gotcha claim with no practical significance when there is no usable impl
by vore 3y ago
I would probably agree with those scientists, this seems like a “well actually” kind of gotcha claim with no practical significance when there is no usable implementation of this.
- CoastalCoder 3y agoI think the main issue with those folks wasn't if/how they're right, but rather how they treated the commenter.
- moralestapia 3y agoThis. The thing was so obscure that even seasoned people who have worked with this for many years didn't know about it. I guess the takeaway is to stay humble because you never know what you don't know.
- pavlov 3y agoAnd more specifically, never get into arguments about what C++ can do because it’s guaranteed that someone has used it the way you assume it should never be used.
- angiosperm 3y agoThey probably totally forgot the conversation only seconds later, and did not intend humiliation or perceive any humiliation. He said something not usefully correct for the circumstances under discussion, and was corrected without fuss. Then he carried a grudge.
- deleted 3y ago[deleted]
- astrange 3y agoThere is one. https://hboehm.info/gc/ https://hboehm.info/gc/
- bachmeier 3y agoFrom Bjarne's website: > If you want automatic garbage collection, there are good commercial and public-domain garbage collectors for C++. For applications where garbage collection is suitable, C++ is an excellent garbage collected language with a performance that compares favorably with other garbage collected languages. See The C++ Programming Language for a discussion of automatic garbage collection in C++. See also, Hans-J. Boehm's site for C and C++ garbage collection. > Also, C++ supports programming techniques that allows memory management to be safe and implicit without a garbage collector. I consider garbage collection a last choice and an imperfect way of handling for resource management. That does not mean that it is never useful, just hat there are better approaches in many situations. > C++11 offers a GC ABI. https://www.stroustrup.com/bs_faq.html#garbage-collection https://www.stroustrup.com/bs_faq.html#garbage-collection It seems few remember the days when Java put so much pressure on C++ that Bjarne S was very much trying to find a way to provide GC for those who wanted it. In 2023, the folks wanting GC are all using those languages, and it's assumed C++ is anti-GC.