Hacker News new | ask | show | jobs
by birdsbolt 3961 days ago
Allocations don't have to be expensive if your GC is smart. Smart as C++ destructors positioning :D
1 comments

> if your GC is smart

Can you say more? I don't know how C++ uses destructor positioning? Seems to me if it gets to GC it's too late, you already made an allocation which is the expensive part.