Re:Chris Lattner on garbage collection vs. Automatic Referen...
by verdagon on Sunday April 24, 2022 @09:11AM
(#31143611)
Ironically, even though I believe RC will make great strides, I actually agree with you. Single ownership has the most potential, especially if we decouple it from the borrow checker as we are in Vale. [0] Being able to control when something is deallocated is quite powerful, especially for real-time systems.
Re:Chris Lattner on garbage collection vs. Automatic Referen...
by Tozen on Thursday April 28, 2022 @03:04AM
(#31189548)
> "GC reminds me of satellite internet."
> GC reminds me of satellite internet: no matter how fast it gets in terms of throughput, the latency will always be unacceptable — but because the latency issue can't be solved, advocates will keep trying to tell you that latency doesn't matter as much as you think it does and your problem isn't really a problem.
LOL, like this statement, and will have to borrow it for future discussions/debates.
Re:Chris Lattner on garbage collection vs. Automatic Referen...
by pjmlp on Sunday April 24, 2022 @10:59AM
(#31144631)
There are real time GCs when one is willing to put the money on the table.
GC reminds me of satellite internet: no matter how fast it gets in terms of throughput, the latency will always be unacceptable — but because the latency issue can't be solved, advocates will keep trying to tell you that latency doesn't matter as much as you think it does and your problem isn't really a problem. (All sorts of bad experiences in modern software come down to somone trading away latency to get throughput.)
Rather than the framing of "GC vs. ARC", I'm mostly interested in improvements to the ownership model.