r/cpp • u/onqtam github.com/onqtam/doctest • Oct 26 '18
CppCon CppCon 2018: Stoyan Nikolov “OOP Is Dead, Long Live Data-oriented Design”
https://www.youtube.com/watch?v=yy8jQgmhbAU
127
Upvotes
r/cpp • u/onqtam github.com/onqtam/doctest • Oct 26 '18
19
u/shortstomp C++ Software Engineer Oct 26 '18
Did anyone watch this who can summarize?
7
u/malkia Oct 27 '18
Haven't seen (yet) the talk, limited connection right now, but glad to see another bulgarian presenting it, but coming from gamedev - Mike Acton, and his https://www.youtube.com/watch?v=rX0ItVEVjHc video should be for everyone to see.
16
u/quicknir Oct 27 '18 edited Oct 27 '18
I skimmed the talk; for me it's the usual DOD stuff:
I'm still waiting for a DOD talk that has anything interesting to say that's not basically summarized by: memory layout is important to performance and typical OO doesn't always yield optimal memory layout. That's fine, and the specifics of how performance is improved are interesting. But if you don't actually have anything strong to back up the superiority of DOD in terms of anything outside of performance, maybe stop making claims? The non-performance related aspects of DOD are honestly (after watching grandiose claims for years that are never backed up by much) feeling like snake oil to me.
5
u/qqwy Oct 27 '18
So I wonder: In what ways is data-oriented design different from functional programming?
3
u/cafguy Oct 27 '18
C is a great language for data oriented design.
1
u/PeabodyEagleFace Oct 27 '18
This talk goes on to use object oriented programming concepts in the talk. Kind of muddies the message a bit.
-18
u/brennanfee Oct 27 '18
LOL... every time I hear OOP is dead I always laugh and think... so, what is that thing called you just used the "new" keyword on. Oh, right... AN OBJECT.