Re:Parsing C++ is literally undecidable (2013)
by biggestdecision on Friday October 04, 2019 @10:33AM
(#21158090)
Swift's GC is really a lot closer to modern C++ style memory management than the other languages you mentioned. If you use RAII & shared_ptr in C++ you are using the exact same techniques that Swift's "GC" uses.
[ Parent
| on HN ]
Re:Parsing C++ is literally undecidable (2013)
by pjmlp on Friday October 04, 2019 @11:53AM
(#21158861)
And as proven by the ixy paper, quite slow versus tracing GCs.
Re:Parsing C++ is literally undecidable (2013)
by biggestdecision on Friday October 04, 2019 @11:52PM
(#21163701)
I assume this is what you are talking about?
https://www.net.in.tum.de/fileadmin/bibtex/publications/pape...
>A total of 76% of the CPU time is spent incrementing and decrementing reference counters.
ouch