3 ms·
>it was just the union of everything that came along Garbage collection isn't in the language though some people wanted it. So it isn't a union of everything.
by cma 5y ago
>it was just the union of everything that came along
Garbage collection isn't in the language though some people wanted it. So it isn't a union of everything.
- emsy 5y agoNot in the mark-and-sweep variant but certainly as ref-counting. And not only once!
- pjmlp 5y agoActually it is, as API introduced in C++11, and yes Bjarne was one of those that opposed to it, if I remember correctly. However, since no one has made any use of it, and existing C++ GC's follow other schemes (Unreal, C++/ClI,...), there is a ISO C++23 proposal to remove it from the standard.
- account42 5y agoIt is not just Bjarne that opposed GC - no compiler implemented it (or not a major one anyway).