Hacker News new | past | comments | ask | show | jobs | submit login

Wouldn't the GC still need to check for references from permspace objects? (It's probably still a noticeable performance boost.)



Your language could disallow references from permspace to normal space. Or even make permspace objects immutable.


Or just track the (presumably few) mutations of permspace objects for special handling. In that case, permspace effectively becomes an infinitely long-lived generation that is never collected, only used as a source of roots.


Bingo. I should have written "GC only uses it as a source of roots."




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: