News for hackers. Stuff that matters.
Re:C++17 is formally approved by gcp on Thursday September 07, 2017 @10:10AM (#15191974)
There's some funny ones there. std::random_shuffle because it relies on rand() which may be bad, but ironically most (all?) the rng's that are in the standard library would be considered "bad" by modern standards.
Re:C++17 is formally approved by ska on Thursday September 07, 2017 @11:47AM (#15192925)
"bad" for what purpose? The linear congruent stuff and Mersenne twisters, for example, are leaps and bounds better than a typical rand() implementation, and very appropriate for many uses.
Re:C++17 is formally approved by gcp on Thursday September 07, 2017 @06:02PM (#15196172)
Sure, but we have generators now that are both faster and better, so there's no point in using the standard ones, aside for convenience.
Re:C++17 is formally approved by ska on Friday September 08, 2017 @10:46AM (#15200552)

    aside for convenience.
You say that as if it is a small thing. Convenience, lack of additional code to maintain, consistency across platforms - for many projects these things will easily trump any algorithmic improvements from using something else.