News for hackers. Stuff that matters.
Re:Data-oriented design or why you might shoot yourself in t... by throwaway894345 on Monday June 28, 2021 @02:03PM (#27665279)
Disagree. Go and Rust both have dynamic dispatch and neither have the problems that inheritance has. Even in C which lacks dynamic dispatch, people will either try to build it at the expense of type safety or they will try to manage an impossibly complex implicit state machine (I've seen this in a lot of critical real time systems).
Re:Data-oriented design or why you might shoot yourself in t... by kaba0 on Monday June 28, 2021 @05:39PM (#27668537)
I would wager that in most ordinary C programs it is worse. You can’t even reason about code anymore with all the callbacks.