▲ | tcfhgj 4 days ago | |||||||
yes, there is: GC will not use stack allocation and it will add another layer of memory management resulting in significant memory overhead (runtime overhead) | ||||||||
▲ | nromiun 4 days ago | parent [-] | |||||||
Of course they do. For example C#, D, Nim etc all use stack allocation with their GC. Not to mention Rust also allocates dynamic objects on the heap. So not sure what is your point. | ||||||||
|