Re:C++ is a hack
by thinkpad20 on Tuesday February 16, 2016 @12:11PM
(#11111342)
Isn't name mangling a standard thing done by just about every language except for C that compiles to object code? The lack of standardization between compilers sounds potentially problematic, but name mangling itself doesn't seem like a bad thing. The alternative is to force the programmer to do their own "name mangling" a la C.
[ Parent
| on HN ]
Re:C++ is a hack
by JoeAltmaier on Tuesday February 16, 2016 @12:15PM
(#11111383)
Name mangling is a sad old way of using antiquated object formats while moving forward with a language. Better solutions are obvious - a new object format that stores constraints/annotations/scope info would be a good one.