News for hackers. Stuff that matters.
Re:The C standard library function atexit is broken by ThemalSpan on Wednesday June 19, 2019 @09:04PM (#20228890)
To your first point: iOS takes this idea to its logical conclusion and it seems to be an important aspect of iOS’s performance. https://iphonedevwiki.net/index.php/Dyld_shared_cache
Re:The C standard library function atexit is broken by loeg on Thursday June 20, 2019 @12:49PM (#20234724)
icache, TLB entries, and even L1 are much more limited than main memory, especially on embedded devices. By linking everything into a single object, iOS can save on wasted padding and use superpages to map the shared library into each process in a TLB-efficient way.
Re:The C standard library function atexit is broken by comex on Wednesday June 19, 2019 @10:54PM (#20229417)
macOS as well.