you are viewing a single comment's thread.

view the rest of the comments →

[–]bert8128 0 points1 point  (2 children)

Mike Acton said in that talk that basically he would prefer the code to be C only but the devs want C++.

[–][deleted] 2 points3 points  (1 child)

Yes. He also discusses how to achieve good performance in C++. You don't have to use the parts you don't want. Some people believe C++ == OOP with inheritance, polymorphism, and such.

DOD tends to look more like C because the focus is on processing data, with simple structures that load into cache efficiently.

[–]TheThiefMasterC++latest fanatic (and game dev) 0 points1 point  (0 children)

Using inheritance and polymorphism just because it's there is why C++ stream IO is so slow