zl4000
Re:Std::string half of all allocations in the Chrome browser process
on Friday December 05, 2014 @10:31AM (#8704975)
> Beats the heck out of taking an unexpected GC call somewhere later when you weren't expeccting it.
How is that an issue with c++ `std::string`
Re:Std::string half of all allocations in the Chrome browser process
on Friday December 05, 2014 @10:30AM (#8704972)
Definitely, and where `std::string`'s interface is not enough, use thrid party libs which work on std::strings, like boost string algoriths, std regex, or uftcpp.
Re:Std::string half of all allocations in the Chrome browser process
on Friday December 05, 2014 @10:29AM (#8704965)
No that's BS. `std::string` should be used where ever it is applicable.
The whole issue that this post about chrome was talking about was dealing with a poor usage of `std::string`, such as passing c_str() to then go and construct another string instead of passing by const ref.
Or building a set of `std::string` to simply check if a value exists.
That's just shit code, not an issue with `std::string`.
Re:Std::string half of all allocations in the Chrome browser process
on Friday December 05, 2014 @10:27AM (#8704949)
Copy on write is not at all helpful in a language like C++ where concurrency can be concerned.
Re:Wire – Modern Communications Network
on Wednesday December 03, 2014 @06:51AM (#8693189)
Yeah, I can't believe this crap has become de-facto web design.
Re:The University of Florida Sparse Matrix Collection
on Wednesday November 26, 2014 @09:36AM (#8662441)
I used it for testing Spare Matrix kernels I wrote for my Uni thesis.
However, god knows why this site is considered news worthy. I mean it's the same as it was yesterday, and the day before...