News for hackers. Stuff that matters.
Re:The libkern C++ Runtime by olliej on Wednesday July 11, 2018 @09:17PM (#17511514)
I suspect (never written anything substantial) that at least part of it relates to the age of a lot of xnu.

Basically think about the state of c++ and c++ compilers two decades ago. I wouldn’t be surprised if that factored into it.

As others have said codesize can also be an issue - it’s super easy to make templates produce insane amounts of code, especially in older compilers.

Re:The libkern C++ Runtime by mrpippy on Thursday July 12, 2018 @12:18AM (#17512152)
Exactly. OS X 10.0 shipped with GCC 2.95, it wasn’t uncommon at all to avoid templates and exceptions back then.