rand() Considered Harmful
Why it was recommended
recommended by Stephan T. Lavavej, maintainer of Visual Studio's C++ Standard Library, in his "rand() Considered Harmful" talk
Referenceslavik81 · Original
What it covers
Stephan T. Lavavej's GoingNative 2013 talk explaining why calling rand() and using rand() % 100 is bad in C++, and how the C++11 <random> header does the job properly. It is for someone who already knows the basic terms and wants the next step.
Video details
- Channel
- aghuttun
- Length
- 31 min 28 sec
- Year
- 2013
More in this topic
- CppCon 2015: Andrei Alexandrescu “std::allocator...”
- Lexical Scanning in Go - Rob Pike
- CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”
- RustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine West
- CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”
- Ideas about a new programming language for games.