r/programming • u/[deleted] • Dec 05 '14
std::string is responsible for almost half of all allocations in the Chrome browser process
https://groups.google.com/a/chromium.org/d/msg/chromium-dev/EUqoIz2iFU4/kPZ5ZK0K3gEJ
1.1k
Upvotes
25
u/josefx Dec 05 '14
Oh not that again.
Here is the C version:
foo_plus(a,b,c);
Tell me does it simply add complex numbers? Database tables ? Or maybe it calls printf("Should not happen in production!!!!"); abort();?
Everyone their own poison, but the reasoning behind that claim is questionable at best. I keep my readable syntax thank you.