2 ms·
Under the hood though they don't work remotely the same - you also aren't having things like inheritance, polymorphism, etc. - You can emulate them, I'm sure (t
by JohnMakin 3y ago
Under the hood though they don't work remotely the same - you also aren't having things like inheritance, polymorphism, etc. - You can emulate them, I'm sure (that's a strength of C - you can do basically whatever with it) but as far as encapsulated in-memory objects with interfaces, it's just not there without a lot of goofy structs pointing to function pointers. I've only worked with C in embedded systems and the structure you're describing I've genuinely never seen, but I'll take your word for it.