|
|
|
|
|
by astrange
1832 days ago
|
|
Tracing GC has poor memory performance because it has to access rarely used or swapped out pages to scan them for pointers. And of course, the peak memory use is much higher since it doesn't free everything as soon as possible. There may be advantages if you can use it to add compaction, but I don't think you need a GC to do that necessarily. |
|
https://github.com/ixy-languages/ixy-languages
No wonder that M1 has specific architecture optimizations that help streamline ARC boilerplate code, while Swift 5.5 will bring more aggressive optimizations (disabled by default, because application can crash if weak/owned references are annotated improperly => WWDC 2021 talk)