3 ms·
> Does your C++ have a garbage collector? No? You can have GC in C++, completely pauseless GC (https://github.com/pebal/sgcl https://github.com/pebal/sgcl). Th
by pebal 2y ago
> Does your C++ have a garbage collector? No?
You can have GC in C++, completely pauseless GC (https://github.com/pebal/sgcl https://github.com/pebal/sgcl). The only one in the world, even Java doesn't have anything like it. The GC support in the C++ standard was useless, so it was removed.
- tialaramex 2y agoIt's true, Java presumably doesn't want your weird custom thing, they already have several garbage collectors. And yes, writing a standard which specifies things nobody does is indeed useless and that's why it was removed, but that was my entire point. The ISO document is just dress up, what actually matters is the implementations.
- pebal 2y agoJava will never have a completely pauseless GC. Because Java generates a lot of garbage and because Java's GC moves objects. It's funny that you think the best solutions have already been invented.
- deleted 2y ago[deleted]