Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In such uses, if it matters you don't rely on RC to reclaim the storage. You allocate from an arena, and drop the whole graph as a unit.

Using pointers to make up a graph is a choice. It is a thing taught in CS classes, so it may feel comfortably familiar; that does not make it good. I never do.



How is this different than working around a GC?

There are lots of things you can do in GCed language to avoid allocations and avoid running the GC when it matters.


Often it is your SRE who has to do that work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: