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

This is because of the fragile ABI problem in C++--it's not good for APIs for this reason. I used to program for the macOS kernel and they (used to) do exactly the same thing.

See `OSMetaClassDefineReservedUnused` in `OSObject.cpp`, here: https://github.com/apple/darwin-xnu/blob/main/libkern/c++/OS...



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

Search: