4 ms·
At a cost of requiring two to three times as much RAM as a non-GC solution to get that performance, as noted elsewhere in this thread. Indeed, it's been known f
by bitwize 6y ago
At a cost of requiring two to three times as much RAM as a non-GC solution to get that performance, as noted elsewhere in this thread. Indeed, it's been known for years[1] that to have comparable performance to an equivalent program without GC, a GC-enabled program needs several times as much memory available.
Yeah, no thank you. The OS community should stick with Rust.
[1] Matthew Hertz, Emery D. Berger. Quantifying the performance of garbage collection. ACM SIGPLAN Notices, volume 40, issue 10, October 2005. https://people.cs.umass.edu/~emery/pubs/gcvsmalloc.pdf https://people.cs.umass.edu/~emery/pubs/gcvsmalloc.pdf
- dgellow 6y agoThe OS community is almost only C and C++. If by community you mean the people working on operating systems. Or you're only considering a small subset to make your point?
- pjmlp 6y agoThe OS community seems to use other tools. > Swift is intended as a replacement for C-based languages (C, C++, and Objective-C). -- https://swift.org/about/ https://swift.org/about/ Reference Counting, chapter 5 from The Garbage Collection Handbook.
- higerordermap 6y agoYeah once you have a old paper that compares a not-particularly-efficient JVM of that time with manual memory management and concludes GC needs 3x memory, it is even easier to spread GC misinformation.