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

Essentially, what they are doing is allocating all unsafe objects (i.e. arrays and objects whose pointer is passed to another function) on a dedicated region of the heap (that they call the unsafe stack) that only keeps these objects, so all (de-)allocation happens in the LIFO order and can be implemented as a stack. As pointed out by evanpw, they keep a pointer to this region in the thread-local store.


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

Search: