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

As far as I know, name mangling only exists because linkers don’t have a notion of namespaces. If you fix linkers, then there is no need to mangle.



And also because of function overloading in, say, C++. To link code two functions with the same identifier which differ only in signature (e.g. types of arguments), we need to pass them to linker as two different functions with different identifiers.




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

Search: