Hacker News new | ask | show | jobs
by jakearmitage 885 days ago
Why no std::string?
2 comments

Because std::string is pretty much the worst way how one would implement a string type. Sometimes it's better to not have a feature than to have a broken feature.
Could you point me to implementations that you believe are good? Much appreciated.
Memory allocation, interoperability with existing libraries. Would require a huge new API and tricky design choices.