News for hackers. Stuff that matters.
Re:Myths about Hash Tables by mappu on Monday October 01, 2012 @07:19PM (#4599855)
To be fair to the C++ programmers, there are several legitimate reasons to avoid std::map<> - for instance, if your project doesn't use exceptions.
Re:Myths about Hash Tables by marshray on Monday October 01, 2012 @07:39PM (#4599914)
So you don't use std::string or dynamic_cast<>() either?
Re:Myths about Hash Tables by Ogre on Monday October 01, 2012 @11:07PM (#4600463)
It's typical in game development to disable both exceptions and RTTI entirely. dynamic_cast is out on either of those counts. std::almost_everything is out due to exceptions.

EA released a GPL'd "EASTL" library a few years ago for those and other reasons, you can read all about it here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n227...

Re:Myths about Hash Tables by marshray on Monday October 01, 2012 @11:41PM (#4600544)
I think we've had this conversation before :-)
Re:Myths about Hash Tables by Ogre on Monday October 01, 2012 @11:54PM (#4600560)
I've posted that link once or twice before (once or twice literally, not sarcastically), it wouldn't surprise me if I was replying to you in one of those instances :)

Here, I found it, we both posted in this thread, but not to each other: http://news.ycombinator.com/item?id=3560158

Re:Myths about Hash Tables by marshray on Tuesday October 02, 2012 @01:51AM (#4600742)
Perhaps I saw that link on Reddit?